Hi everybody, I got the following problems, as I tried to connect from ssh (1.2.27) client to openssh (2.1.1p4) server: Client: ------- $ ssh -l user1 192.168.0.2 user1 at 192.168.0.2's password: Last login: Mon Jul 17 11.05.44 2000 from 192.168.0.1 -bash: ?Ptty3: command not found -bash: Zg9tty3: command not found connection to 192.168.0.2 closed. Server: ------- logfile-entries: Jul 17 11:10:40 nec xinetd[7877]: START: ssh pid=7975 from=192.168.0.2 Jul 17 11:10:40 nec sshd[7975]: Generating 1152 bit RSA Key. Jul 17 11:10:40 nec sshd[7975]: RSA key generation complete. Jul 17 11:10:40 nec sshd[7975]: Accepted password for user1 from 192.168.0.1 port 1023 Jul 17 11:10:43 nec PAM_pwdb[7975]: (sshd) session opened for user user1 by (uid=0) Jul 17 11:10:43 nec sshd[7975]: syslogin_perform_logout: logout() returned an error Jul 17 11:10:53 nec PAM_pwdb[7975]: (sshd) session closed for user1. Jul 17 11:10:53 nec xinetd[7877]: EXIT: ssh pid=7975 duration = 13 (sec) any hints on this? As I tried to connect from the openssh-client to the ssh-(1.2.27)-server, then everything seems to work correctly. Hm. Thanx in advance, Tobi
On Mon, 17 Jul 2000, Tobias Klein wrote:> Hi everybody, > > I got the following problems, as I tried to connect from ssh > (1.2.27) client to openssh (2.1.1p4) server:Does this patch help? Otherwise, can you replicate the problem when running the server in debug mode "ssh -d". -d Index: sshd.c ==================================================================RCS file: /var/cvs/openssh/sshd.c,v retrieving revision 1.85 diff -u -r1.85 sshd.c --- sshd.c 2000/07/11 23:45:27 1.85 +++ sshd.c 2000/07/17 12:42:17 @@ -642,6 +642,7 @@ s2 = dup(s1); sock_in = dup(0); sock_out = dup(1); + startup_pipe = -1; /* * We intentionally do not close the descriptors 0, 1, and 2 * as our code for setting the descriptors won\'t work if -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)
Maybe Matching Threads
- sshd -i problem under 2.1.1p4 as well
- [Bug 855] doesn't properly log logout event in utmp entry when pts bigger than 999
- 2.1.1p4: sessions automatically closed, if sshd is run from inetd
- patch for "gone - no logout" output from last(1)
- Problems compiling openssh-2.1.1p2 on FreeBSD 4.0-RELEASE