SSH Alternative Port

From Computer Science Wiki
Revision as of 11:52, 3 August 2021 by Rhunter (talk | contribs) (Created page with "== Setting up an Alternative port for SSH == === Reason === Virginia Tech campus blocks certain ports at the network border to the rest of the internet. === Alternatives ===...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Setting up an Alternative port for SSH

Reason

Virginia Tech campus blocks certain ports at the network border to the rest of the internet.

Alternatives

Besides using a different port for SSH, you could also do one of the following:

- Use the VT VPN.  Most VT's users have VPN access if they have set it up.
   - https://onecampus.vt.edu/task/all/installing-pulse-vpn
- If the server is well established (more than just a lab server or desktop) you can reqeuest a port 22 exception from Virginia Tech.  In order to do that contact techstaff@cs.vt.edu

Setup Alternative SSH Port

We recommend adding an additional port vs replacing another port for 22. In your /etc/ssh/sshd_config modify the following line:

#Port 22

with this:

Port 22
Port 2222