1

I have a problem similar to the already posted SSH access to office host behind NAT router to access from a homepc an OfficePc using a server with no root access the given solution was:

youatwork@officepc$ autossh -R 12345:localhost:22 notroot@serverpc

Later:

you@homepc$ autossh -L 23456:localhost:12345 notroot@serverpc

you@homepc$ ssh youatwork@localhost -p 23456

Provided by @piskvor That works nicely, but I have one problem if the officepc resets because a power cut I can't connect any more to officepc I don't know if the solution provided by @Velmont will work, thanks!

Leosar
  • 123

0 Answers0