D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Back to front SSH connection?

 

Hi all,

My brain is complete mush at the moment with the impending house move, and my Google Fu is being affected accordingly.

A friend in Scotland has just installed Linux Mint on his laptop. What I would like to do, if possible (I'm sure it is, and I'm sure I have a vague recollection of doing precisely this many years ago) is for him to run a command on his machine that establishes a connection to my machine but allows me to run commands on his machine.

To my mind this would be a "reverse SSH connection" as his would be the "server" (in as much as I would be running commands on it remotely) but his would also be the one initiating the connection (like a "client" would normally) so he doesn't have to mess around with port forwarding nonsense.

I'm happy to (temporarily) set up pretty forwarding on my end to accept his incoming connection, but importantly once he has established a connection I want to have shell access on his machine rather than him having shell access to mine.

Any thoughts?

Grant. :)
-- 
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq