Under the cygwin environment, when the user sets their home directory to root the .ssh/environment file isn't read in properly. This is similar to past pathing problems in OpenSSH where the path that is assembled to find the file begins with two slashes, instead of one. Under Cygwin this indicates a network share, not the root of the file system. The attached path merely checks to see if home = / and, if so, doesn't use it when assembling the path to .ssh/environment.
Created attachment 133 [details] Correct .ssh/environment path under cygwin
Applied - thanks.
Mass change of RESOLVED bugs to CLOSED