Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

sudo apt-get install -y openssh-server
sudo nano /etc/ssh/sshd_config
ssh-keygen -t rsa
cat ~/.ssh/ >> ~/.ssh/authorized_keys

Note: If you mess with Permissions, SSH will SILENTLY FAIL. Here are correct Perms

 sudo chmod 700 ~/.ssh && sudo chmod 600 ~/.ssh/authorized_keys && sudo chown $USER:$USER ~/.ssh -R && sudo service ssh restart


change LogLevel INFO to VERBOSE
#PasswordAuthentication yes
PasswordAuthentication no #Disables login via Username/PWD
PermitRootlogin no
#AuthorizedKey file 
AuthorizedKey file (aka uncomment)


  • No labels