|
|
|
@ -3,12 +3,17 @@ Notes for video: http://www.youtube.com/watch?v=LlGL-uBSe6M
|
|
|
|
|
|
|
|
|
|
## ssh passwordless login
|
|
|
|
|
|
|
|
|
|
username:
|
|
|
|
|
local pc = heoyea
|
|
|
|
|
server pc = heoyea-core
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A. generate a public key ( this will create id_rsa / id_rsa.pub files in ~/.ssh folder )
|
|
|
|
|
ssh-keygen
|
|
|
|
|
|
|
|
|
|
# ex: prompt to comeplete
|
|
|
|
|
Generating public/private rsa key pair.
|
|
|
|
|
Enter file in which to save the key (/home/jsmith/.ssh/id_rsa):[Press Enter key]
|
|
|
|
|
Enter file in which to save the key (/home/heoyea/.ssh/id_rsa):[Press Enter key]
|
|
|
|
|
Enter passphrase (empty for no passphrase): [Press Enter key]
|
|
|
|
|
Enter same passphrase again: [Pess Enter key]
|
|
|
|
|
Your identification has been saved in /home/heoyea/.ssh/id_rsa.
|
|
|
|
|