Linux/SSH
[SSH] Host based Authentication
C : client.localS : server.local C,S# ssh-keygen -t rsaC,S# cp ~/.ssh/id_rsa /etc/ssh/ssh_host_rsa_keyC,S# cp ~/.ssh/id_rsa.pub /etc/ssh/ssh_host_rsa_key.pub C,S# echo "192.168.64.133 client.local" >> /etc/hostsC,S# echo "192.168.64.134 server.local" >> /etc/hosts S# ssh-keyscan -t rsa client.local S# ssh client.local S# cp ~/.ssh/known_hosts /etc/ssh/ssh_known_hosts S# vi /etc/ssh/sshd_configHo..
2013. 6. 10. 15:33
최근댓글