...
Code Block |
---|
|
ssh username@sol.cc.lehigh.edu |
If you are off campus, then there are two options
- Start a vpn session and then login to Sol using the ssh command above
- Use ssh gateway as a jump host first and then login to Sol using the above ssh command on the ssh gateway prompt. If your ssh is from the latest version of openssh, then you can use the following command
Code Block |
---|
|
ssh -J username@ssh.cc.lehigh.edu username@sol.cc.lehigh.edu |
If you are using the ssh gateway, you might want to add the following to your ${HOME}/.ssh/config file on your local system
Code Block |
---|
|
Host *ssh
HostName ssh.cc.lehigh.edu
Port 22
# This is an example - replace alp514 with your Lehigh ID
User alp514
Host *sol
HostName sol.cc.lehigh.edu
Port 22
User <LehighID>
# ProxyCommand ssh ssh nc %h %p
ProxyCommand ssh -W %h:%p ssh |
to simplify the ssh and scp (for file transfer) command. You will be prompted for your password twice - first for ssh and then for sol
Code Block |
---|
|
ssh sol
scp sol:<path to source directory>/filename <path to destination directory>/filename |
If you are using public key authentication, please add a passphrase to your key. Passwordless authentication is a security risk. Use ssh-agent and ssh-add to manage your public keys. See https://kb.iu.edu/d/aeww for details.
Windows users will need to install a SSH Client to access Sol. Lehigh Research Computing recommends MobaXterm since it can be configured to use the SSH Gateway as jump host. DUO Authentication is activated for faculty and staff on the SSH Gateway. If a window pops up for password enter your Lehigh password. The second pop up is for DUO, it only says DUO Login. Enter 1 for Push to DUO or 2 for call to registered phone.