Remote access to protected networks using ssh tunnels established from inside to outside.

On the inside box: ssh -p 22 -f -N -T -R65522:localhost:22 -f —> go to background -N —> no remote commands at the moment -T —> no interactive shell yet -R65522:localhost:22 —> everything connecting port 65522 on the outside box will be connected to port 22 on the inside box. -p 22 —> the […]

UBUNTU // Handle old kernel mess

Automatic: dpkg-reconfigure unattended-upgrades vi /etc/apt/apt.conf.d/50unattended-upgrades //Unattended-Upgrade::Remove-Unused-Dependencies “false”; —> //Unattended-Upgrade::Remove-Unused-Dependencies “true”; By hand: apt install byobu purge-old-kernels or apt autoremove –purge