#781646 openssh-client: should chdir("/") with ControlPersist

Package:
openssh-client
Source:
openssh
Description:
secure shell (SSH) client, for secure access to remote machines
Submitter:
Johannes Berg
Date:
2015-04-01 08:21:07 UTC
Severity:
wishlist
#781646#5
Date:
2015-04-01 08:18:09 UTC
From:
To:
When ControlPersist is used, it can sometimes cause an unmount failure if
the original ssh process (the one that persists) has a CWD to a directory
within one you're trying to unmount. Since the CWD for this process seems
(to me) completely irrelevant, it'd be good to just chdir("/") before
persisting so that such issues don't occur.