Home > Bash, Linux, Scripting, Software, Ubuntu, Web > Adding SSH server to Linux ( Ubuntu 12.04 LTS ) openssh-server

Adding SSH server to Linux ( Ubuntu 12.04 LTS ) openssh-server

SSH is a secure communication protocol that lets you remotely access networked computers. It is known as a replacement for Telnet which is very unsecure. While telnet sends traffic in plain text, SSH on the other hand uses a secure protocol to communicate.
1. Open Terminal (CTRL + ALT + T)
2. Install openssh-server.
$sudo apt-get install openssh-server
3. Once installed, it is possible to change which port to connect on by editing the following file:
/etc/ssh/sshd_config
#Package generated configuration file
# See the sshd_config(5) manpage for details
#What ports, IPs, and porotocols we listen for:
Port 22
4. Save the file.
You can now connect to the machine using SSH (Putty, WinSCP, etc) on port 22, or whatever port you wish to use.
About these ads
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 133 other followers

%d bloggers like this: