Start Teamviewer from an ssh session remotely

So you remote deskptop rebooted and teamviewer did not run on startup as it does not do in Linux for some strange reason: Connect with ssh ( putty) Then run DISPLAY=`localhost`:0 teamviewer& Njoy 🙂 !

SSH through HTTP proxy

This article explains how to connect to a ssh server located on the internet from a local network protected by a firewall through a HTTPS proxy. Requirement are : Your firewall has to allow HTTPS connections through a proxy You need to have root access to the server where ssh is listening Configure the ssh…

Sharing a screen SSH session

Sharing your Session Assuming you start a screen session using screen -S david Ask your partner to connect using (assuming they are logged in using the same user account): screen -x david Now it’s simply magical. Multiple persons can type and work on the same terminal – it works best when you’re coordinating over the phone. Note…

Cool way to run a script on a remote machine

If you have a local script file and want to run the script on another server use the following : ssh root@torino.maranello.local  ‘bash -s’ < script_local.sh Enjoy 🙂

Tar a folder or entire system through ssh

We all had the problem of needing to backup a folder or an entire system from a machine before decommissioning or as a postfix backup solution only to find tarring aint gonna work cause you have very little space left. Also there are folders you want to avoid tarring since they contain logs or system…