Re: ssh to 2003 server exist immediately

2006-05-16 Thread Igor Peshansky
On Mon, 15 May 2006, Andrew DeFaria wrote: * * wrote: You might try reconfiguring with privilege separation turned on. Also, turn on auditing of failed file access, and/or run sysInternals RegMon and FileMon. Reconfigured with privilege separation turned on. Same problem. Interesting note:

Re: ssh to 2003 server exist immediately

2006-05-16 Thread Andrew DeFaria
Igor Peshansky wrote: Meantime I edited sshd_server's rights so I could do a runas /user:sshd_server cmd. From here I started bash --login -i then did an strace /usr/sbin/sshd -d /tmp/sshd.strace.log 21 (attached). The relevant part seems to be here: 277 3957121 [main] sshd 1404

Re: ssh to 2003 server exist immediately

2006-05-15 Thread * *
You might try reconfiguring with privilege separation turned on. Also, turn on auditing of failed file access, and/or run sysInternals RegMon and FileMon. I think your sshd_server user doesn't have permission to execute Winsock2 which is %SYSTEMROOT%\System32\ws2_32.dll or one of it's

Re: ssh to 2003 server exist immediately

2006-05-13 Thread Andrew DeFaria
Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: I'm trying to set up ssh access to a Windows 2003 server. I am having a problem in that when I ssh to this server it immediately exits and I

Re: ssh to 2003 server exist immediately

2006-05-13 Thread Andrew DeFaria
Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: Andrew DeFaria wrote: /etc/passwd and /etc/group are symlinks to a shared and up to date copy of the output of mkpasswd/mkgroup. That's not the issue. As I understand it, for sshd (or in.rlogind) to switch user it needs special privileges.

Re: ssh to 2003 server exist immediately

2006-05-12 Thread Larry Hall (Cygwin)
Andrew DeFaria wrote: Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: I'm trying to set up ssh access to a Windows 2003 server. I am having a problem in that when I ssh to this server it immediately exits and I find the following in

Re: ssh to 2003 server exist immediately

2006-05-12 Thread Larry Hall (Cygwin)
Andrew DeFaria wrote: Andrew DeFaria wrote: /etc/passwd and /etc/group are symlinks to a shared and up to date copy of the output of mkpasswd/mkgroup. That's not the issue. As I understand it, for sshd (or in.rlogind) to switch user it needs special privileges. Indeed the documentation

Re: ssh to 2003 server exist immediately

2006-05-11 Thread David Arnstein
On Wed, May 10, 2006 at 08:35:24PM -0700, Andrew DeFaria wrote: Andrew DeFaria wrote: This is very frustrating because my client relies on a command I wrote called smake which essentially boils down to: rsh server -n cd directory make that is intended to perform the make on server. As you

ssh to 2003 server exist immediately

2006-05-10 Thread Andrew DeFaria
I'm trying to set up ssh access to a Windows 2003 server. I am having a problem in that when I ssh to this server it immediately exits and I find the following in /var/log/sshd.log: 5 [main] sshd 12912 C:\Cygwin\usr\sbin\sshd.exe: *** fatal error - could not load ws2_32, Win32 error 0

Re: ssh to 2003 server exist immediately

2006-05-10 Thread Larry Hall (Cygwin)
Andrew DeFaria wrote: I'm trying to set up ssh access to a Windows 2003 server. I am having a problem in that when I ssh to this server it immediately exits and I find the following in /var/log/sshd.log: 5 [main] sshd 12912 C:\Cygwin\usr\sbin\sshd.exe: *** fatal error - could not load

Re: ssh to 2003 server exist immediately

2006-05-10 Thread Andrew DeFaria
Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: I'm trying to set up ssh access to a Windows 2003 server. I am having a problem in that when I ssh to this server it immediately exits and I find the following in /var/log/sshd.log: 5 [main] sshd 12912 C:\Cygwin\usr\sbin\sshd.exe: ***

Re: ssh to 2003 server exist immediately

2006-05-10 Thread Larry Hall (Cygwin)
Andrew DeFaria wrote: Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: I'm trying to set up ssh access to a Windows 2003 server. I am having a problem in that when I ssh to this server it immediately exits and I find the following in /var/log/sshd.log: 5 [main] sshd 12912

Re: ssh to 2003 server exist immediately

2006-05-10 Thread Andrew DeFaria
Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: I'm trying to set up ssh access to a Windows 2003 server. I am having a problem in that when I ssh to this server it immediately exits and I find the following in /var/log/sshd.log: 5