Posted in Linux SSH

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…

Posted in Azure Cloud Services Linux SSH

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…

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…

Posted in SSH

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…