Created attachment 2695 [details] do not print warning about missing home directory in chroot Since setting options.chroot_directory to NULL after successful chroot the following error message is back: Could not chdir to home directory /home/user: No such file or directory Remember that we are inside a chroot and do not print error message about missing home directory.
Created attachment 2696 [details] do not print warning about missing home directory in chroot
BTW, this is kind of critical as it leaks host file system pathes into the chroot.
Created attachment 2737 [details] Remove a redundant flag too
Patch applied - this will be in OpenSSH 7.2
Close all resolved bugs after 7.3p1 release