Re: SSH login to any remote machine fails

stealthsurfer_at_gmail.com
Date: 02/15/05


Date: 15 Feb 2005 08:55:05 -0800


Willi Bald wrote:
> Hello!
>
> I got a serious SSH-Problem on my Redhat 9 client (OpenSSH_3.5p1, SSH

> protocols 1.5/2.0):
>
> when I try to connect (as root) to a remote server using
>
> # ssh servername
> or
> # ssh -l root servername
>
> I get the following message: Host key verification failed.
> I've tried to connect to this servers from a other client, and
> everything works.
>
> SSH-login to my client works fine too.
>
> Any suggestions!?
>
> Thank you
> Willi

I just had a similar problem on a series of SUNs. Root was able to ssh
just fine but any normal user would just receive the Host key
verification failed error. I finally traced this down to a permissions
problem with /dev/tty. On my systems /dev/tty is a link to
/devices/pseudo/sy@0:tty. This was set to 660. It must be 666 to allow
normal users to ssh. Check the permissions on it and see if it helps.



Relevant Pages

  • csh core dumping 7.0-rc1
    ... After rebooting a FreeBSD 7.0-RC1 server I noticed I could not login ... as root either via ssh or su, I initially thought I forgot my password ... Luckily I had enabled root login on sshd and added my ssh ... Loaded symbols for /lib/libncurses.so.7 ...
    (freebsd-current)
  • RE: Dead SSH Connections from script
    ... >> dead SSH connections around, ... root on one machine to access all other machines thru SSH as root. ... we have told all the client machines that our server is an ...
    (RedHat)
  • Re: bash_history set to zero length
    ... I log in to the server over ssh to carry out various tasks for which I ... sometimes have to su to root. ... Maybe one of these disconnects cause the bash_history to become lost? ...
    (comp.os.linux.security)
  • Re: PubkeyAuth disallowed for root only?
    ... On two of our RedHat EL4 Update 4 servers root cannot login via ssh using public keys. ... if you either run sshd in debug mode or increase LogLevel in sshd_config then the server will provide more information about why the authentication was denied. ...
    (SSH)
  • Re: need remedial iptables info
    ... >> We recently had a server root level hacked. ... can I still "su -" from another account OK? ... > via ssh. ...
    (comp.os.linux.networking)