Difference between revisions of "BX:SSH"
From CCGB
(Created page with "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 t...") |
|||
Line 1: | Line 1: | ||
Some of our machines have the default port 22 for ssh blocked. | 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. | If you are having trouble connecting over ssh, try connecting to port 1022 instead. | ||
− | This can be accomplished with the {{code|-p}} flag: | + | This can be accomplished with the {{code|-p}} flag of ssh: |
ssh -p 1022 <hostname>.bx.psu.edu | ssh -p 1022 <hostname>.bx.psu.edu |
Latest revision as of 15:42, 19 October 2012
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.