Operating System - HP-UX
1826400 Members
4679 Online
109692 Solutions
New Discussion

Re: SSH cannot read passphrase

 
SOLVED
Go to solution
David Connolly
Regular Advisor

SSH cannot read passphrase

Hi,

I'm using openssh on ux 11.0. I get this error if I attempt to ssh to another machine as user "retail", but not as "root"

eg:
retail: ssh otherm
You have no controlling tty. Cannot read passphrase.

root: ssh -l retail otherm
retail@otherm's password:


I also noticed that when I logon as retail from the console, I get the following message:
ttytype: couldn't open /dev/tty for reading
Cannot open /dev/tty read/write to ask. Quitting

Not sure that they're related.

Any thoughts?
3 REPLIES 3
U.SivaKumar_2
Honored Contributor
Solution

Re: SSH cannot read passphrase

Hi,
What is the permissions of /dev/tty?
Should be readable and writable by all.
regards,
U.Sivakumar
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: SSH cannot read passphrase

Hi,
Login as root. and do this.

#chmod 666 /dev/tty

regards,
U.SivaKumar


Innovations are made when conventions are broken
David Connolly
Regular Advisor

Re: SSH cannot read passphrase

Thanks U.

That worked a charm!