public static class OpenSshConfig.Host extends Object
If returned from OpenSshConfig.lookup(String)
some or all of the
properties may not be populated. The properties which are not populated
should be defaulted by the caller.
When returned from OpenSshConfig.lookup(String)
any wildcard
entries which appear later in the configuration file will have been
already merged into this block.
Constructor | Description |
---|---|
Host() |
Modifier and Type | Method | Description |
---|---|---|
int |
getConnectionAttempts() |
|
String |
getHostName() |
|
File |
getIdentityFile() |
|
int |
getPort() |
|
String |
getPreferredAuthentications() |
|
String |
getStrictHostKeyChecking() |
|
String |
getUser() |
|
boolean |
isBatchMode() |
public String getStrictHostKeyChecking()
public String getHostName()
public int getPort()
public File getIdentityFile()
public String getUser()
public String getPreferredAuthentications()
public boolean isBatchMode()
public int getConnectionAttempts()
Copyright © 2018. All rights reserved.