Re: SOLVED: Some users locked out of ssh and sftp?

chuck gelm
2005-03-15T14:54:10Z

Donald Duckie wrote:
> I got this error message as shown below . . .
> How do I change the /root/.ssh/known_hosts file?
> It seems encrypted . . .

Hi, Donald:

The file is not encripted, but it contains an encription key for
each remote hostname. There is a line for each 'ssh' host that
you have sucessfully connected. If the remote 'host' has changed
its encription key and you already have a line with the old
encription key, 'ssh' will fail with that message.

Solution:

Use a 'text' editor and open /root/.ssh/known_hosts.
Delete the line that starts with the remote hostname.
Save and exit. (or 'rm known_hosts')

'ssh' to that hostname.
Answer 'yes' when prompted.

HTH, Chuck