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 2>&1" (attached). The "relevant" part seems to be here: 277 3957121 [main] sshd 1404 C:\

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 no

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 dependenc

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. In

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 fin

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 allud

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 /var/log/

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 -n cd > && make" that is intended to perform the make on . > As you can see it

Re: ssh to 2003 server exist immediately

2006-05-10 Thread Andrew DeFaria
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 alludes to that. And until

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 [mai

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 C:\Cygwin\usr\

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: *** fata

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 ws

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 F