SSH Security Checklist
All of the SSH Security Tips that are listed here are done by editing /etc/ssh/sshd_config as su:
View Full Article »
All of the SSH Security Tips that are listed here are done by editing /etc/ssh/sshd_config as su:
View Full Article »
If SSH timeout is bugging you, here is how to increase the timeout for the ssh shell:
On the Server:
sudo vim /etc/sshd_config
#add this line for server side keep alives every 60s:
ClientAliveInterval 60
On the Client:
sudo vim /etc/ssh_config
#add this line to send keep alives from client to server every 60s
ServerAliveInterval 60
Don’t forget to restart the ssh daemon where appropriate:
sudo /etc/init.d/ssh restart
Ever typed something in vi or vim and minutes later, realized you don’t have permission to save what you typed?
I was looking up how to goto a line in VIM, and found a great article that had the method of going to a line (:1322 if you wanted to go to link 1322), and I found a gem:
View Full Article »