4

I have a few SSH tunnels setup for auto-connection/re-connection with Shimo.

Is there a way of attaching shell access to those existing tunnels and how if so? Or will I have to establish a new ssh connection just for shell access?

2
  • What's the problem with just opening another connection?
    – Sven
    Jul 13, 2013 at 20:38
  • No, no problem at all, I was just curious and got frustrated when google didn't shed any light on this. I've seen people attaching output of a process to a file while it was running so I was just wondering if something similar would be possible with ssh. Jul 13, 2013 at 20:45

1 Answer 1

5

I think what you want is to to set ControlMaster yes in your initial connection. Then you can connect additional sessions through the same connection, by connecting them to a control socket. See ControlMaster in ssh_config(5) for details.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .