Re: Connection closed by server with exitcode 1
Brought to you by:
xystrus
From: Werner F. <wer...@uf...> - 2011-12-23 15:50:29
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Zachary Burnham [05.12.2011 17:57]: > RHEL just updated its rssh package on last Wednesday (at least > that's when Rackspace upgraded our server) and it appears to have > broken something. > > When attempting to connect via FileZilla, I get the following > (logging turned up to Debug): [...] > > And in the server - side secure log I only have the following: > > Dec 5 11:33:08 webhost sshd[5551]: Accepted password for user > from xxx.xxx.xxx.xxx port 62567 ssh2 Dec 5 11:33:08 webhost > sshd[5551]: pam_unix(sshd:session): session opened for user lansing > by (uid=0) Dec 5 11:33:08 webhost sshd[5555]: subsystem request > for sftp Dec 5 11:33:08 webhost sshd[5551]: > pam_unix(sshd:session): session closed for user lansing > > No further information and nothing in the syslog from rssh. What > else can I check? This is rssh 2.3.3 . I have this even without using rssh, so it may not be related. This occurs when ~/.ssh and its contents have wrong owners or rights, or when the shell profiles have wrong owner/rights, or whenever sshd thinks something is wrong. At least the latter is my guess... For me, when I try to authenticate via key, there is no chance to enter a password if the key is wrong ("Server refused public key"). I tried to debug with "ssh -vvv ...", and found the wrong owner of ~/.bash_profile, but still have a problem with another user. Cheers, Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk70mw4ACgkQk33Krq8b42OSxACfQ+6ccA1DhJINvU/gwMijGQAX 0qQAn0SROyixNP/rwmOdML2TfpfASUEA =VCLw -----END PGP SIGNATURE----- |