SSH Alternative Port: Difference between revisions

From Computer Science Wiki
Jump to navigation Jump to search
(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 ===...")
 
Line 6: Line 6:
=== Alternatives ===
=== Alternatives ===
Besides using a different port for SSH, you could also do one of the following:
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.
  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
  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
 
  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 ==
== Setup Alternative SSH Port ==

Revision as of 12:53, 3 August 2021

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