Versions Compared

Key

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

...

Login via ssh without password
    1. Generate a key on

...

    1. your local computer (default options, empty passphrase):

...

    1. "ssh-keygen -t rsa

...

    1. "
      Image Added
    2. Let the server know that you are authorized to login without password:
      Image Added 
      • cat /home/seb/

...

      • .ssh/id_rsa.pub | ssh

...

      • smeuren@centos7.slac.stanford.edu 'cat >> /u/gu/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)
      • login without password
ssh with port tunnel
    • creating a port tunnel to the FACET control server: ssh fphysics@facet-srv01 -Y -R 42000:e320pi:42000
      (note difference between local and remote port forwarding, i.e., direction: server on remote or server on local -L / -R)

...