Here is the situation: I have a Windows home machine Home which I can connect to Foo, a Unix server via ssh. Then I can ssh from my Unix work machine Bar to this same server Foo.
Windows Unix Unix __ __ ssh __ | | ----------> | | <---------- | | |__| ssh |__| ----------> |__| Home Foo ssh -R Bar
My first goal is to be able to open a ssh-shell on Bar from Home (I use putty on Windows). My understanding is that I have to open a reverse ssh tunnel from Bar choosing an arbitrary port say 2210.
Bar.x.x.ip:2210 127.0.0.1:2210 ::1:2210
Then I don't know how from Home I can open a terminal to Bar.
My second and last problem is that I want (using scp) to copy files from Foo to Bar while typing on Home, like I would naturally do it but typing on Bar.
Is it possible to guide into the procedure to make this work? Thanks