Networking Forums

Networking Forums > Computer Networking > Windows Networking > ssh help needed

Reply
Thread Tools Display Modes

ssh help needed

 
 
SBSnewbie
Guest
Posts: n/a

 
      05-18-2005, 06:00 PM
think that I'm missing something obvious here.

After a server reboot a few weeks ago, ssh using cygwin failed to recognize
any users other than the adminstrator. I have tried the following:

- resetting the user passwords from the AD using the command "mkpasswd -d |
grep username > /etc/passwd" followed by "ssh-host-config -y"
- restting all the user passwords with "mkpasswd -l -d > /etc/passwd"
followed by "ssh-host-config -y"
- I've tried restoring all the cygwin files from backup tapes
- uninstalling and reinstalling cygwin
- forcing the CYGWIN sshd service to logon with sshd_server instead of
"system"

At this point in time I can log on as administrator but not as anyone else.
I've been all over the cygwin.com site and googled what seems like every
possible combination of search words for this problem.

How do I set up cygwin to recognize existing users in Active Directory and
their corresponding passwords? Additionally, how do I prevent this from
happening again on my 2003 server?

Thank you in advance.
 
Reply With Quote
 
 
 
 
Backup
Guest
Posts: n/a

 
      05-18-2005, 10:04 PM
Ask the people who make your OpenSSH software.
OpenSSH isnt an Microsoft Issue.
You will get bugs from time to time using 3rd party non/ M$ software.

Open ssh is just a port from unix/linux systems to run in windows.
How about trying to just remove the password file and remake them again.


"SBSnewbie" <(E-Mail Removed)> wrote in message
news91710AA-70F4-4EE4-A248-(E-Mail Removed)...
> think that I'm missing something obvious here.
>
> After a server reboot a few weeks ago, ssh using cygwin failed to
> recognize
> any users other than the adminstrator. I have tried the following:
>
> - resetting the user passwords from the AD using the command "mkpasswd -d
> |
> grep username > /etc/passwd" followed by "ssh-host-config -y"
> - restting all the user passwords with "mkpasswd -l -d > /etc/passwd"
> followed by "ssh-host-config -y"
> - I've tried restoring all the cygwin files from backup tapes
> - uninstalling and reinstalling cygwin
> - forcing the CYGWIN sshd service to logon with sshd_server instead of
> "system"
>
> At this point in time I can log on as administrator but not as anyone
> else.
> I've been all over the cygwin.com site and googled what seems like every
> possible combination of search words for this problem.
>
> How do I set up cygwin to recognize existing users in Active Directory and
> their corresponding passwords? Additionally, how do I prevent this from
> happening again on my 2003 server?
>
> Thank you in advance.



 
Reply With Quote
 
SBSnewbie
Guest
Posts: n/a

 
      05-26-2005, 12:03 AM
Thanks. I did that and am still having problems that point to a permissions
issue. Was just wondering if anyone else had similar problems.

"Backup" wrote:

> Ask the people who make your OpenSSH software.
> OpenSSH isnt an Microsoft Issue.
> You will get bugs from time to time using 3rd party non/ M$ software.
>
> Open ssh is just a port from unix/linux systems to run in windows.
> How about trying to just remove the password file and remake them again.
>
>
> "SBSnewbie" <(E-Mail Removed)> wrote in message
> news91710AA-70F4-4EE4-A248-(E-Mail Removed)...
> > think that I'm missing something obvious here.
> >
> > After a server reboot a few weeks ago, ssh using cygwin failed to
> > recognize
> > any users other than the adminstrator. I have tried the following:
> >
> > - resetting the user passwords from the AD using the command "mkpasswd -d
> > |
> > grep username > /etc/passwd" followed by "ssh-host-config -y"
> > - restting all the user passwords with "mkpasswd -l -d > /etc/passwd"
> > followed by "ssh-host-config -y"
> > - I've tried restoring all the cygwin files from backup tapes
> > - uninstalling and reinstalling cygwin
> > - forcing the CYGWIN sshd service to logon with sshd_server instead of
> > "system"
> >
> > At this point in time I can log on as administrator but not as anyone
> > else.
> > I've been all over the cygwin.com site and googled what seems like every
> > possible combination of search words for this problem.
> >
> > How do I set up cygwin to recognize existing users in Active Directory and
> > their corresponding passwords? Additionally, how do I prevent this from
> > happening again on my 2003 server?
> >
> > Thank you in advance.

>
>
>

 
Reply With Quote
 
SBSnewbie
Guest
Posts: n/a

 
      06-30-2005, 01:35 AM

Finally got it all running again after tracking it down to a domain file
replication issue and with the help of a small tool from the Server 2003
Resource Kit.

Here’s a synopsis as an FYI. Copied linkd.exe into NWHSERVER system32
folder and then ran from "c:\winnt\sysvol\sysvol\linkd domain.local
c:\winnt\sysvol\domain" Received a cannot create link at domain.local error.
Had to remove the information currently in domain.local as it was manually
copied over at some previous date and would not allow linkd to copy in info
until domain.local was cleared. Copied old files to backup folder on
desktop. Reran linkd command and then copied any policies not already listed
to C:\WINNT\SYSVOL\domain\policies.

Tested with new GPO creation and it immediately popluated both
C:\WINNT\SYSVOL\domain\policies and
C:\WINNT\SYSVOL\sysvol\domain.local\policies on NWHSERVER as expected.
Woohoo!

Reset the sshd_server password and am now back in business.


"SBSnewbie" wrote:

> think that I'm missing something obvious here.
>
> After a server reboot a few weeks ago, ssh using cygwin failed to recognize
> any users other than the adminstrator. I have tried the following:
>
> - resetting the user passwords from the AD using the command "mkpasswd -d |
> grep username > /etc/passwd" followed by "ssh-host-config -y"
> - restting all the user passwords with "mkpasswd -l -d > /etc/passwd"
> followed by "ssh-host-config -y"
> - I've tried restoring all the cygwin files from backup tapes
> - uninstalling and reinstalling cygwin
> - forcing the CYGWIN sshd service to logon with sshd_server instead of
> "system"
>
> At this point in time I can log on as administrator but not as anyone else.
> I've been all over the cygwin.com site and googled what seems like every
> possible combination of search words for this problem.
>
> How do I set up cygwin to recognize existing users in Active Directory and
> their corresponding passwords? Additionally, how do I prevent this from
> happening again on my 2003 server?
>
> Thank you in advance.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple mail "server" program needed - advice needed please Andrew Sayers Home Networking 12 08-24-2006 04:03 PM
ISP needed Tony Broadband 6 05-04-2004 09:53 AM
a little help needed beef & onion crisps Home Networking 0 12-12-2003 12:34 PM
HELP NEEDED!! Do I have a router that needs taken back. Please. Any information is much needed. newbie Windows Networking 0 09-28-2003 04:53 PM
Help needed Richard Baker Broadband 1 08-05-2003 11:45 AM



1 2 3 4 5 6 7 8 9 10 11