Training

When: Every first Sunday of every month -get a ticket- from $15 (Click Here).

Sunday, April 23, 2017

3 Steps to Perform SSH and SCP Login Without Password Using ssh-keygen





3 Steps to Perform SSH Login Without Password Using ssh-keygen



jsmith@local-host$ ssh-keygen
 
jsmith@local-host$ ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
 
jsmith@local-host$ ssh remote-host
 
 
To copy files:
   


jsmith@local-host$ scp /home/folder/filetocopy.zip remotehost@remotehost.com:/home1/file-to-copy-to

No comments: