How to Change SSH Port in Ubuntu Linux 18.04.2


This article describes How to Change SSH Port in Ubuntu Linux 18.04.2

Linux is an open-source operating system. To really understand what that means, we need to define some terms. An operating system is a layer of software on a computer that acts as a foundation for computer programs. It's the OS's job to monitor computer resources and allocate those resources to programs that need them. When you execute a program, the OS acts like a supervisor and makes sure the program has the processing power, memory and any other resources it might need to function. Operating systems make it easy for program developers to write software -- without an OS, the programmer would have to create software to work directly from the hardware itself.

Ubuntu is a complete Linux operating system, freely available with both community and professional support. The Ubuntu community is built on the ideas enshrined in the Ubuntu Manifesto: that software should be available free of charge, that software tools should be usable by people in their local language and despite any disabilities, and that people should have the freedom to customize and alter their software in whatever way they see fit.

The Ubuntu Project is sponsored by Canonical Ltd. Canonical will not charge licence fees for Ubuntu, now or at any stage in the future. Canonical's business model is to provide technical support and professional services related to Ubuntu. We encourage more companies also to offer support for Ubuntu, and will list those that do on the Support pages of this web site.

Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things

Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network.[1] Typical applications include remote command-line, login, and remote command execution, but any network service can be secured with SSH.

SSH, also known as Secure Shell or Secure Socket Shell, is a network protocol that gives users, particularly system administrators, a secure way to access a computer over an unsecured network. SSH also refers to the suite of utilities that implement the SSH protocol. Secure Shell provides strong authentication and encrypted data communications between two computers connecting over an open network such as the internet. SSH is widely used by network administrators for managing systems and applications remotely, allowing them to log into another computer over a network, execute commands and move files from one computer to another.

SSH connections have been used to secure many different types of communications between a local machine and a remote host, including secure remote access to resources, remote execution of commands, delivery of software patches and updates and other administrative or management tasks.

Procedure to change the SSH Port for Linux or Unix Server:
Open the terminal application and connect to your server via SSH.
Locate sshd_config file by typing the find command.
Edit the sshd server file and set Port option.
Save and close the file
Restart the sshd service to change the ssh port in Linux.

Now you can find some examples in this video.

Please subscribe to support our channel.
To be aware of our new videos please subscribe our channel.

Visit our website
Visit our youtube channel
Watch IT & Learn IT & Apply IT.