bugzilla-daemon at mindrot.org
2002-Jun-11 19:25 UTC
[Bug 272] New: Ctrl-C exits - Can not open TTY
http://bugzilla.mindrot.org/show_bug.cgi?id=272 Summary: Ctrl-C exits - Can not open TTY Product: Portable OpenSSH Version: -current Platform: UltraSparc OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: john.carroll at usap.gov CC: john.carroll at usap.gov When I type Ctrl-C in any ssh shell, it exits the shell. I have tried this from PuTTy, as well as an older version of the OpenSSH client on another Sun Solaris system. It only seems to do this on the newest version of OpenSSH. I tried to ssh from the system to itself, and get a host key error. I checked the error logs, and I get an error every time it starts up an ssh seesion, shown below, that it couldn't open /dev/tty. I'm guessing this may have to do with the locations of various files, possibly those of OpenSSL (since I changed the locations of some things from the original), but I can't find anything in the documentation about this. It compiles, creates the keys, and installs fine. thanks, john # openssl version OpenSSL 0.9.6d 9 May 2002 # ssh -v OpenSSH_3.2.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090604f # ssh sunshine Host key verification failed. # tail /var/adm/messages (and /var/adm/auth_log) Jun 11 12:48:10 sunshine sshd[18645]: [ID 800047 auth.error] error: open /dev/tty failed - could not set controlling tty: No such device or address # ps -aef | grep ssh root 400 1 0 10:19:07 ? 0:02 /usr/local/sbin/sshd root 18682 400 1 13:02:31 pts/10 0:01 /usr/local/sbin/sshd # ls -al /dev/tty lrwxrwxrwx 1 root other 26 Jun 10 14:46 /dev/tty -> ../devices/pseudo/sy at 0:tty # ls -la /devices/pseudo/sy at 0:tty crw-rw-rw- 1 root tty 22, 0 Jun 10 14:46 /devices/pseudo/sy at 0:tty # ls /usr/local/src/*ssl* /usr/local/src/openssl-0.9.6d.tar.gz # ./config --prefix=/usr/local --openssldir=/usr/local # ls /usr/local/src/*ssh* /usr/local/src/openssh-3.2.2p1.tar.gz # ./configure --prefix=/usr/local --sysconfdir=/usr/local/etc --with-pid- dir=/usr/local/etc --with-tcp-wrappers --with-egd-pool=/dev/egd-pool ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.