PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Setting up linux ssh server

Go down

Setting up linux ssh server Empty Setting up linux ssh server

Post by jamied_uk 26th August 2018, 23:43

Vid


Code


Code:
sudo apt-get install -y openssh-server


Backup config file

Code:
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config-backup

Now edit to your needs!

Code:
sudo gedit /etc/ssh/sshd_config
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Setting up linux ssh server Empty Re: Setting up linux ssh server

Post by jamied_uk 26th August 2018, 23:46

Restart ssh server after editing config


Code:
sudo service ssh restart
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Setting up linux ssh server Empty Re: Setting up linux ssh server

Post by jamied_uk 26th August 2018, 23:50

Limit ssh connections for security

Code:
sudo ufw limit ssh




For more config options visit

help.ubuntu.com/community/SSH/OpenSSH/Configuring
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Setting up linux ssh server Empty Re: Setting up linux ssh server

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum