Keeping or stopping TCP forwardings when the foreground process quits?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi,

In my ~/.ssh/config I've got a few hosts with

	ControlMaster auto

(for performance reasons, they're higher latency and
cutting down reconnect time helps a lot).


Now I started a TCP delay via the usual

	ssh user@host -L port:IP:port

and when I no longer needed it, I quit the interactive shell.


But the TCP forwards still worked - of course,
as the ControlMaster process was still active!


What I'd like to ask/discuss is -- perhaps the TCP forwarding should
(optionally, by default) be bound to the interactive SSH process -
and when that one quits, the forwarding is stopped?

(When running with -f, SSH runs in the background anyway.)


Or is that a bad idea?

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux