Report this

What is the reason for this report?

Possible to change the Console Access port #?

Posted on March 13, 2015

Is it possible to change the port # that the console access tries to use? I believe my network at work has outbound port 22 blocked. Is there a way to change this to something like 443? I’m fairly new to Linux and that’s why I got this to begin with, to learn on my downtime.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You can change your default ssh port in the configuration file /etc/ssh/sshd_config just open that file, find the line that says:

Port 22

and update it to the port you wish to use. You will then need to restart the ssh service:

service ssh restart

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.