...
- Generate a key on your local computer (default options, empty passphrase): "ssh-keygen -t rsa"
- Find the folder where the "authorized_keys" folder is located on the remote server:
- Let the server know that you are authorized to login without password:
- 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
- Generate a key on your local computer (default options, empty passphrase): "ssh-keygen -t rsa"
ssh with port tunnel
...