ControlMaster cwd is not /

Steffen Nurpmeso steffen at
Thu Apr 1 08:58:23 AEDT 2021


raf wrote in
 <20210331075157.sgfbkvofdx6dgiyi at>:
 |On Wed, Mar 31, 2021 at 12:33:43AM +0200, Steffen Nurpmeso <steffen at sdao\
 |> wrote:
 |> I just stumbled over the fact that the ControlMaster process does
 |> not do "cd /" but remains where the ssh client was invoked.  Is
 |> this intentional, or should i open a bug report on that?
 |> [snip]
 |I reported this too a little while ago and there was no
 |interest. But it is a pain when your cwd is a USB stick
 |that you want to umount. I've created a pull request

Yeah, and encrypted volumes (in my case).

 |that fixes it:

That is great!  I had not looked at github.  (That pull i could
not have found by then?)

 |But it's failing checks on 4 Ubuntu kitchensink/sk
 |This page shows the error message:
 |  No files were found with the provided path:
 |  regress/*.log regress/valgrind-out/. No artifacts
 |  will be uploaded.

I am not at github so cannot see the log, but since configure
failed also locally, a "autoreconf" seems to fix it.  After that:

  make[1]: Leaving directory '/tmp/x/openssh.tar_bomb_git/regress'
  unit tests passed
  echo all tests passed
  all tests passed

(8.5p1 plus your patch.)
It would be nice if that patch made it in.

Thanks, and Ciao from Germany,

|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

More information about the openssh-unix-dev mailing list