serverheap-screen-linux

SCREEN – Keep a process running after closing SSH connection

2 min read There are many reasons why you would like to keep a process running even if you close your SSH session. Here are a few examples: Your working day is going to be over soon and you are running a huge database import that’s taking a long time to complete, you would not want to stay and wait for the import to complete but just hand over the task to the next person on shift You are downloading a huge file and it’s going to take a good few hours, you would not want to leave your terminal open and wait,…

servercheap-reversessh

Reverse SSH Tunneling Between Two Linux Hosts

< 1 min read Reverse SSH tunneling allows you to access a host by traversing a firewall / nat router by creating an outbound session from the obfuscated machine.   SSH is a very useful and powerful tool when comes time to access a remote machine or server securely. If you have a machine behind a firewall or NAT router – we can use this method to create a tunnel to a remote server;  from which you can ssh to a port on the remote server to access a local shell session on the server behind the network obstruction. Install AutoSSH with the following: sudo apt install autossh AutoSSH…

servercheap-ssh-recording

Enable SSH session recording in CentOS 8

2 min read CentOS 8 has been released and it includes some really amazing features. One feature that many security admins will greatly appreciate is session recording. With this feature, CentOS will record any/all SSH sessions, which includes all of the user activity that occurs during the session. Once recorded, videos of these sessions can be played back by any admin with a Cockpit login. What you’ll need To make this work, you’ll need the following: A running instance of CentOS 8 A running instance of Cockpit A user with sudo privileges How to enable Cockpit In order to enable Cockpit, log onto…