How to Install ssh on Ubuntu Linux

Install SSH Server

if you want to access your server remotely need to Install SSH in your Server . in this tutorial we share how to install SSH on Ubuntu Linux.

apt-get install openssh-server openssh-client

Configure SSH Server

cp  /etc/ssh/sshd_config /etc/ssh/sshd_config.bak

vim /etc/ssh/sshd_config
then Customize your ssh port
# What ports, IPs and protocols we listen for
Port 2222
if you want increase SSH security Level

# Authentication:
LoginGraceTime 120
PermitRootLogin no
AllowUsers user1 user2

Restart SSH Service
service ssh restart

			

Related posts

Leave a Comment