ControlMaster, scp and current working directory

Bert Wesarg bert.wesarg at googlemail.com
Thu May 31 20:22:35 EST 2012


On Thu, May 31, 2012 at 11:56 AM, Mattieu Baptiste <mattieu.b at gmail.com> wrote:
> Hi,
>
> It seems there is a problem regarding ControlMaster and scp'ing a file
> depending on the current working directory:
>
> $ cd ~/Personnel
> $ scp -o ControlMaster=yes cox.jpg host.local:
> muxserver_listen bind(): No such file or directory
> lost connection
> $ scp -o ControlMaster=no cox.jpg host.local:
> cox.jpg                                          100%  222KB 222.1KB/s   00:00
> $ cd
> $ scp -o ControlMaster=yes Personnel/cox.jpg host.local:
> cox.jpg                                          100%  222KB 222.1KB/s   00:00
> $ scp -o ControlMaster=no Personnel/cox.jpg host.local:
> cox.jpg                                          100%  222KB 222.1KB/s   00:00
>

What is the value of your ControlPath? By default it is not set, and
therefore multiplexing is disabled.

Thanks.

Bert

> This is on OpenBSD -current/amd64.
>
>
> Regards,
> --
> Mattieu Baptiste


More information about the openssh-unix-dev mailing list