|
|
|
@ -13,8 +13,6 @@ Notes for video: http://www.youtube.com/watch?v=LlGL-uBSe6M
|
|
|
|
|
Enter same passphrase again: [Pess Enter key]
|
|
|
|
|
Your identification has been saved in /home/heoyea/.ssh/id_rsa.
|
|
|
|
|
Your public key has been saved in /home/heoyea/.ssh/id_rsa.pub.
|
|
|
|
|
The key fingerprint is:
|
|
|
|
|
33:b3:fe:af:95:95:18:11:31:d5:de:96:2f:f2:35:f9 heoyea-core@.192.168.1.100
|
|
|
|
|
|
|
|
|
|
B1. copy local pub key to server pc (method 1)
|
|
|
|
|
# this will send pub key and create ~/.ssh/authorized_keys file on server pc
|
|
|
|
@ -22,7 +20,7 @@ Notes for video: http://www.youtube.com/watch?v=LlGL-uBSe6M
|
|
|
|
|
|
|
|
|
|
ssh-copy-id -i ~/.ssh/id_rsa.pub heoyea-core@192.168.1.100
|
|
|
|
|
|
|
|
|
|
B2. copy local pub key to server pc (method 2)
|
|
|
|
|
B2. copy local pub key to server pc (method 2) - use if ssh-copy-id command on not on your system
|
|
|
|
|
# send keys to server
|
|
|
|
|
scp ~/.ssh/id_rsa.pub heoyea-core@192.168.1.100:/tmp/
|
|
|
|
|
|
|
|
|
|