ControlPath and differing ssh options?
Brian Candler
b.candler at pobox.com
Wed Jan 29 00:22:57 AEDT 2025
On 28/01/2025 13:05, Jan Schermer wrote:
> I don’t enable ForwardAgent by default for security reasons but only
> explicitely (-A) when I need to to e.g. copy files between servers. This
> and other options don’t play well with multiplexing because I usually
> already have few terminals open to the host.
FWIW, the way I deal with this situation is "ssh -A -o ControlPath=none ..."
Not pretty, but good enough or the odd occasions I need it. I might make
a shell alias like "ssha" if I needed it often.
More information about the openssh-unix-dev
mailing list