Category: SSH
Author: Andrew Published Date: August 1, 2017 Leave a Comment on Ensure that your SSH connections don’t die if you leave them open
Ensure that your SSH connections don’t die if you leave them open
Edit your /etc/ssh/sshd_config file and add the following to the server’s configuration … ClientAliveInterval 120 ClientAliveCountMax 240 … restart your…
Locked out of your Azure VM’s SSH
If you get locked out of your SSH client Log into the azure portal https://portal.azure.com Navigate to the VM from…
Author: Andrew Published Date: June 8, 2017 Leave a Comment on Remove IP from known hosts via command line
Posted in SSH
Remove IP from known hosts via command line
If you ever get the following test or similar:- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT…
Remember port SSH port fowarding
If you can reach a box over SSH (and tunnelling is not disabled), then you can create a tunnel like…