How to Change SSH Port
To change the SSH Port, please follow the full instructions below:
Firstly, open the file /etc/ssh/sshd_config with your favourite text editor. For example:
nano /etc/ssh/sshd_config
Then, find the string which defines the port and edit it:
# What ports, IPs and protocols we listen for Port 22
Now restart sshd service:
service sshd restart
Make sure you have a new ssh port opened in your firewall.
What is SSH?
A network communication protocol is called SSH, or Secure Shell. (Compare SSH to HTTP or the hypertext transfer protocol) SSH allows two computers to communicate. The protocol can communicate data and transport hypertext (such as web pages). The fact that the communication between the two computers is encrypted is a built-in feature of ssh. As a result, it can be used over unsecure networks.
Are you aware? SSH is frequently used to “login” and carry out tasks on distant computers. Data transfer is another possible application.
How to Use It?
To connect to our service, you use an application (ssh client) on your computer (server). Additionally, you can utilise the program’s graphical user interface or command line to move data to and from our storage. You can accomplish this transfer using a variety of tools, as well as some operating systems including Mac OS X and Linux. These OS already offer this functionality.
Additionally, SCP (Secure Copy) and/or SFTP (SSH File Transfer Protocol) are frequently supported for data transfer by SH clients. Although both SCP and SFTP are compatible with our service, we tend to use SFTP.