BX:SSH

From CCGB
Revision as of 15:42, 19 October 2012 by Natew (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Some of our machines have the default port 22 for ssh blocked. If you are having trouble connecting over ssh, try connecting to port 1022 instead. This can be accomplished with the -p flag of ssh:

ssh -p 1022 <hostname>.bx.psu.edu

Alternately, you can add these lines to ~/.ssh/config:

Host <hostname>.bx.psu.edu
Port 1022

and then log in normally using ssh <hostname>.bx.psu.edu. See man ssh_config for details on the syntax of ~/.ssh/config.

Make sure to substitute <hostname> with the name of the machine you are connecting to.