...
- ssh smeuren@fastx3.slac.stanford.edu -Y
- ssh smeuren@centos7.slac.stanford.edu -Y
- ssh smeuren@rhel6-64.slac.stanford.edu -Y
Save typing time
- Shortcut for ssh:
export fx=smeuren@fastx3.slac.stanford.edu
export cent=smeuren@centos7.slac.stanford.edu
alias sshfx="ssh $fx -Y"
alias sshcent="ssh $cent -Y"
- Shortcut for ssh:
Login via ssh without password
- Generate a key on the remote server (default options, empty passphrase): smeuren@rhel6-64p $ ssh-keygen -t rsa
- On your local computer:
- mkdir ~/.ssh
- cat .ssh/id_rsa.pub | ssh smeuren@rhel6-64.slac.stanford.edu 'cat >> .ssh/authorized_keys'
- 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
Copying files to the SLAC cluster (AFS file system):
...