Operating System - HP-UX
1833858 Members
2860 Online
110063 Solutions
New Discussion

Host key verification failed

 
SOLVED
Go to solution
taylan kurtkaya
Advisor

Host key verification failed

hi everbody,

i am using HP-UX 11.31
my problem is while iam using ssh with root normally works but while i am using ssh with any other user it gives an attention

Host key verification failed.



#whoami
root
#ssh localhost
Password:
#su - taylan



$ whoami
taylan
$ ssh localhost
Host key verification failed.


Please help,
Best Regards

9 REPLIES 9
Suraj K Sankari
Honored Contributor

Re: Host key verification failed

HI,
Did you tried like this ?

$ ssh taylan@localhost


Suraj
taylan kurtkaya
Advisor

Re: Host key verification failed


hi Suraj

yes i tried, not only ssh to localhost but also i can't ssh anywhere with users instead of root

$ ssh taylan@localhost
Host key verification failed.

thanks
Turgay Cavdar
Honored Contributor

Re: Host key verification failed

Did you try to clear known_hosts file in user's .ssh directory?
taylan kurtkaya
Advisor

Re: Host key verification failed

yes i've cleared known_hosts file, but i am taking the same problem.
Turgay Cavdar
Honored Contributor
Solution

Re: Host key verification failed

Can you send the output of:
ssh -vvv localhost
taylan kurtkaya
Advisor

Re: Host key verification failed

hi turgay,
i have attached tho output of ssh -vvv localhost.
thanks, best regards
Turgay Cavdar
Honored Contributor

Re: Host key verification failed

Probably /dev/tty permissions are changed on your system, it should be like this:
$ ll /dev/tty
crw-rw-rw- 1 bin bin 207 0x000000 Aug 28 10:41 /dev/tty
taylan kurtkaya
Advisor

Re: Host key verification failed

hi Turgay
i have changed /dev/tty permissions and problem solved.

thank you.
taylan kurtkaya
Advisor

Re: Host key verification failed

i have changed /dev/tty permissions and my problem has been solved.