Setting up linux ssh server

Go down

Setting up linux ssh server Empty Setting up linux ssh server

Post by jamied_uk on 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 : 2471
Join date : 2010-05-09
Age : 36
Location : UK

http://address-shortner.co.uk

Back to top Go down

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

Post by jamied_uk on 26th August 2018, 23:46

Restart ssh server after editing config


Code:
sudo service ssh restart
jamied_uk
jamied_uk
Admin

Posts : 2471
Join date : 2010-05-09
Age : 36
Location : UK

http://address-shortner.co.uk

Back to top Go down

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

Post by jamied_uk on 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 : 2471
Join date : 2010-05-09
Age : 36
Location : UK

http://address-shortner.co.uk

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


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