Operating System - HP-UX
1834026 Members
1992 Online
110063 Solutions
New Discussion

Re: $HOME/.ssh/known_hosts

 
SOLVED
Go to solution
Kathy Khaghani
Advisor

$HOME/.ssh/known_hosts

Hello experts,

I don't know much about the khown_hosts file in the .ssh directory, was wondering if it could be copied over from one server to another, both HPUX 11.23.

Thanks

Kathy
4 REPLIES 4
Jeff_Traigle
Honored Contributor
Solution

Re: $HOME/.ssh/known_hosts

Yes, you can. It simply holds the public key information for the systems that have been accessed via ssh/scp/sftp. The remote system's public key won't change so you're essentially making the keys known to the other server.
--
Jeff Traigle
Tim Nelson
Honored Contributor

Re: $HOME/.ssh/known_hosts

Thought this contained server footprints ?

Public keys were in .ssh/authorized_keys

either way, yes it can be copied to stop the prompt that comes up during ssh. Does not matter much, pretty easy to enter "yes" that one time ?


Kathy Khaghani
Advisor

Re: $HOME/.ssh/known_hosts

Great, thank you both for prompt response.
Kathy Khaghani
Advisor

Re: $HOME/.ssh/known_hosts

closed