ssh RSA key ÀúÀåÀ» ¹°¾îº¸´Â ¹®±¸
[root@localhost ]# ssh -lroot 192.168.86.16
The authenticity of host '192.168.86.16 (192.168.86.16)' can't be established.
RSA key fingerprint is 6b:40:72:xx:xx:xx:f1:80:49:b0:7d:xx:xx:xx:xx:xx.
Are you sure you want to continue connecting (yes/no)?
192.168.86.16 RSA keyÀº ÇöÀç ÀúÀåµÇ¾îÀÖÁö ¾ÊÀ½
[root@localhost ] cat /root/.ssh/known_hosts
192.168.86.10 ssh-rsa AAAACxxxxxx2EAAAABIwAAAQEAoOP1A67WwTFI6IlM5PqxxxxxrHzIVuxPkaSL+SKHItGDxKtTZmyBXSecYyi3QBcUz+x0s0bZ4oDhJKiThT88lA5MOFaHFyiroy3piasU2ojuarn2MelqKMELjBF/995qg2aDZExuianhOgK4T4OADvXJeTwmUwIFpmEWkpaRzfJOjBUw75zSVHCUqTHbMPAMFsYjGlTQFX8GBhNOxhgoGMZkR5/zT2WIkTid6x4l8ocXM9z9oVE6hdAFs8bh8HinYEwV5njjgMjDj21LSxZWOMi+kJdshdVIGnqfgyVEgV/ldzOLM0B8YhnxtkX0yxM7okxyC5Oog9khGw== 192.168.86.11 ssh-rsa AAAAxxxxxxxyc2EAAAADAQABAAABAQC+M87GT5YzOWV1kIPxxxxnrE0OSTt558ZUhKpl694sH4Oh7rEPJkK+J7DF3iU0sRS7eXybGPTxzmhnAIU4DDPqBfa9taAw1NzAcogPI0YmoS3zkwBxsswOB3nqG4PNWpLJQamKUyZul4jYZOA8A0j0HhWlZEB9QPgyknDkuyBpadnM83PqWyS4y6o8yXEM5Mw72k691yIQWH3aBMO3YmxIeAZJp+ffvi889Ds0ZLpy73plKTXZ+73038gzAlbbjF8SFfa4QsZ1g1zY7+LSaNT55FNVeDAa4Rtat/asuj/Pqi21qylmhoKVWxM/2SlKCq3o/f/KXZ+WnB7AG5:
# RSA key ÀúÀå¿©ºÎ ¹¯Áö¾Ê°í °Á¦·Î ÀúÀå
[root@localhost key]# ssh -lroot -oStrictHostKeyChecking=no 192.168.86.16 Warning: Permanently added '192.168.86.16' (RSA) to the list of known hosts.
# RSA key ÀúÀåÇÏÁö ¾Ê±â
[root@localhost key]# ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentityFile=id_rsa -o UserKnownHostsFile=known_hosts -p '22' 'root'@'192.168.86.16' Warning: Permanently added '192.168.86.16' (RSA) to the list of known hosts. Last login: Mon Jul 18 18:51:16 2011 from 192.168.86.150 |
ex) key°ª À§Ä¡ÁöÁ¤Çؼ
ssh -o StrictHostKeyChecking=no -o IdentityFile=id_rsa -o UserKnownHostsFile=known_hosts -p '22'
'root'@'192.168.86.16'
¡Ø sshpass : ¼Ò½ºÆÄÀÏ Ã·ºÎ
ÀÎÁõÅ°ÀúÀå¾øÀÌ Æнº¿öµå Âï°í ·Î±×ÀÎÇϱâ
# ./configure
# make
# make install
|