server_1:/home/user/> ssh-keygen -t rsa
I not joined the "passphrase" twice, then 2 files were generated:id_dsa
id_dsa.pub
I copied id_dsa_pub to the server_2:server_1:/home/user/scp id_rsa.pub user@server_2:/home/user/.ssh/
Prior backup, renamed it id_rsa.pub:server_2:/home/user/cp -p authorized_keys authorized_keys_bkp
server_2:/home/user/mv id_rsa.pub authorized_keys
I grant permission to the new file:server_2:/home/user/chmod 644 authorized_keys
To try to remove the entries, I tried on both servers:ssh-keygen -R hostname
without positive results.server_1:/home/user/>ssh user@server_2:/home/user
I see the message:ssh server_2:/home/user: Temporary failure in name resolution
I did not make a backup of known_hosts.ASKER
ASKER
Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.
TRUSTED BY