public static OpenSshConfig get(FS fs) {File home = fs.userHome();if (home == null)home = new File(".").getAbsoluteFile(); final File config = new File(new File(home, SshConstants.SSH_DIR),SshConstants.CONFIG);return new OpenSshConfig(home, config);}

public static NGit.Transport.OpenSshConfig Get(FS fs){FilePath home = fs.UserHome();if (home == null){home = new FilePath(".").GetAbsoluteFile();}FilePath config = new FilePath(new FilePath(home, ".ssh"), Constants.CONFIG);NGit.Transport.OpenSshConfig osc = new NGit.Transport.OpenSshConfig(home, config);osc.Refresh();return osc;}
