Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    1. Generate a key on your local computer (default options, empty passphrase): "ssh-keygen -t rsa"
    2. Find the folder where the "authorized_keys" folder is located on the remote server:
      Image Added
    3. Let the server know that you are authorized to login without password:
      Image Removed 
      • cat /home/seb/.ssh/id_rsa.pub | ssh smeuren@centos7 smeuren@fastx3.slac.stanford.edu 'cat >> /u/guhome/smeuren/.ssh/authorized_keys'
      • Note that you need to change username / servername and the location of "authorized_keys" (pwd when you log into the server should help; see step b)
      • login without password
ssh with port tunnel

...