Check your /dev/ttypxx devices. For some reason, they often get installed with permissions allowing write for root only.
If that's the problem, do: cd /dev chmod ugo+rw ttyp* > -----Original Message----- > From: Mike Spaniol [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 13, 2002 6:38 PM > To: [EMAIL PROTECTED] > Subject: [LINUX-390] OpenSSH errors > > > Hello, > > I've been trying to get OpenSSH to work on my linux virtual > machine. I > can get it to work as long as I'm logged on as root. I > posted a question > a couple of weeks ago on the same topic. Since that time, > I've gotten on > the secureshell list and posted a couple of questions over > there. One of > the suggestions I received was to download an older version > of OpenSSH and > see if that solved my problem. So I downloaded OpenSSH 2.1.1. It got > me past my problem with the Host key verification failed > message. But, > now I'm receiving the following error message: > > You have no controlling tty. Cannot read passphrase > > I'm running Linux kernel 2.2.16 which I downloaded from > Marist sometime > in 2001. Does any of this sound like a Linux problem? > > I've downloaded and installed 3 different releases of > OpenSSH. I can get > them all to work from the ROOT userid, but not from anyone > else. In all > cases the SSH executable has the setuid bit on. > > I'll attach the last output from my SSH client when I invoked > the command > with the -v option. > > ---------------------------------------------------------------------- > > $ssh xxx.xxx.xxx.xxx -l yyyyyyy -v > > SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0. > Compiled with SSL (0x0090603f). > debug: Reading configuration data /usr/local/etc/ssh_config > debug: Seeding random number generator > debug: ssh_connect: getuid 503 geteuid 0 anon 0 > debug: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22. > debug: Seeding random number generator > debug: Allocated local port 1013. > debug: Connection established. > debug: Remote protocol version 1.99, remote software version > OpenSSH_2.9p2 > debug: Local version string SSH-1.5-OpenSSH_2.1.1 > debug: Waiting for server public key. > debug: Received server public key (768 bits) and host key (1024 bits). > debug: Host 'xxx.xxx.xxx.xxx' is known and matches the RSA host key. > debug: Seeding random number generator > debug: Encryption type: 3des > debug: Sent encrypted session key. > debug: Installing crc compensation attack detector. > debug: Received encrypted confirmation. > debug: Doing password authentication. > You have no controlling tty. Cannot read passphrase. > ---------------------------------------------------------------------- > > Thanks for all your help. > > Mike Spaniol > Blackwell's Book Services > 6024 SW Jean Road, Building G. > Lake Oswego, Oregon 97035 > Phone: (503) 684-1140 ext. 1231 >
