Re: Tiny usability problem with ControlMaster

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

 



On Fri, Feb 05, 2021 at 03:51:56PM +0100, Christian Hesse <mail@xxxxxxxx> wrote:

> raf <ssh@xxxxxxx> on Thu, 2021/01/28 14:53:
> > I've been using ControlMaster, ControlPath and
> > ControlPersist in my ~/.ssh/config for a little while
> > now, and I've noticed a tiny problem that I'd like to
> > fix.
> 
> Is ControlPath set to a relative path? Just change that to an absolute path
> that is always available and writable for your user.
> -- 
> Best regards,
> Chris

ControlPath is already set to an absolute path: ~/.sshctl/%C

That's not the issue. There is no problem with the
ControlPath being used (i.e. available and writable).

The issue is that the long-running ssh process that
keeps the control socket open is retaining the current
working directory that it started with, rather than
changing directory to / (or the directory containing
the contol path) so as to avoid hampering umounts. So
when that current directory is on a removeable drive's
file system, it can become impossible to unmount that
file system without first killing that ssh process.

cheers,
raf

_______________________________________________
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