SshTestHarness. This gives a way to test
different ssh clients against a unified test suite.
| Modifier and Type | Field and Description |
|---|---|
| public static String[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| KEY_RESOURCES | back to summary |
|---|---|
| public static String[] KEY_RESOURCES
| |
| SshTestBase | back to summary |
|---|---|
| public SshTestBase() | |
| checkKnownHostsModifiedHostKey | back to summary |
|---|---|
| private void checkKnownHostsModifiedHostKey(File backup, File newFile, String wrongKey) throws IOException | |
| isJsch | back to summary |
|---|---|
| private boolean isJsch() | |
| testEcDsaHostKey | back to summary |
|---|---|
public void testEcDsaHostKey() throws Exception
| |
| testKeyboardInteractiveAuth | back to summary |
|---|---|
public void testKeyboardInteractiveAuth() throws Exception
| |
| testKeyboardInteractiveAuthCorrectPasswordTooLate | back to summary |
|---|---|
public void testKeyboardInteractiveAuthCorrectPasswordTooLate() throws Exception
| |
| testKeyboardInteractiveAuthNoPassword | back to summary |
|---|---|
public void testKeyboardInteractiveAuthNoPassword() throws Exception
| |
| testKeyboardInteractiveAuthSeveralTimes | back to summary |
|---|---|
public void testKeyboardInteractiveAuthSeveralTimes() throws Exception
| |
| testKeyboardInteractiveAuthWrongPassword | back to summary |
|---|---|
public void testKeyboardInteractiveAuthWrongPassword() throws Exception
| |
| testPasswordAuth | back to summary |
|---|---|
public void testPasswordAuth() throws Exception
| |
| testPasswordAuthCorrectPasswordTooLate | back to summary |
|---|---|
public void testPasswordAuthCorrectPasswordTooLate() throws Exception
| |
| testPasswordAuthNoPassword | back to summary |
|---|---|
public void testPasswordAuthNoPassword() throws Exception
| |
| testPasswordAuthSeveralTimes | back to summary |
|---|---|
public void testPasswordAuthSeveralTimes() throws Exception
| |
| testPasswordAuthWrongPassword | back to summary |
|---|---|
public void testPasswordAuthWrongPassword() throws Exception
| |
| testRsaHostKeySecond | back to summary |
|---|---|
public void testRsaHostKeySecond() throws Exception
| |
| testSftpCloneWithConfigAndPush | back to summary |
|---|---|
public void testSftpCloneWithConfigAndPush() throws Exception
| |
| testSftpWithConfig | back to summary |
|---|---|
public void testSftpWithConfig() throws Exception
| |
| testSingleCommand | back to summary |
|---|---|
public void testSingleCommand() throws Exception
| |
| testSingleCommandWithTimeoutExpired | back to summary |
|---|---|
public void testSingleCommandWithTimeoutExpired() throws Exception
| |
| testSshCloneWithConfigAndPush | back to summary |
|---|---|
public void testSshCloneWithConfigAndPush() throws Exception
| |
| testSshEncryptedUsedKeyCached | back to summary |
|---|---|
public void testSshEncryptedUsedKeyCached() throws Exception
| |
| testSshEncryptedUsedKeySeveralPassword | back to summary |
|---|---|
public void testSshEncryptedUsedKeySeveralPassword() throws Exception
| |
| testSshEncryptedUsedKeyWrongPassword | back to summary |
|---|---|
public void testSshEncryptedUsedKeyWrongPassword() throws Exception
| |
| testSshKeys | back to summary |
|---|---|
public void testSshKeys(String keyName) throws Exception
| |
| testSshModifiedHostKeyAllow | back to summary |
|---|---|
public void testSshModifiedHostKeyAllow() throws Exception
| |
| testSshModifiedHostKeyAsk | back to summary |
|---|---|
public void testSshModifiedHostKeyAsk() throws Exception
| |
| testSshModifiedHostKeyDeny | back to summary |
|---|---|
public void testSshModifiedHostKeyDeny() throws Exception
| |
| testSshModifiedHostKeyWithProviderDeny | back to summary |
|---|---|
public void testSshModifiedHostKeyWithProviderDeny() throws Exception
| |
| testSshWithAliasInConfig | back to summary |
|---|---|
public void testSshWithAliasInConfig() throws Exception
| |
| testSshWithConfigEncryptedUnusedKey | back to summary |
|---|---|
public void testSshWithConfigEncryptedUnusedKey() throws Exception
| |
| testSshWithConfigEncryptedUnusedKeyInConfigFirst | back to summary |
|---|---|
public void testSshWithConfigEncryptedUnusedKeyInConfigFirst() throws Exception
| |
| testSshWithConfigEncryptedUnusedKeyInConfigLast | back to summary |
|---|---|
public void testSshWithConfigEncryptedUnusedKeyInConfigLast() throws Exception
| |
| testSshWithConfigWrongKey | back to summary |
|---|---|
public void testSshWithConfigWrongKey() throws Exception
| |
| testSshWithDefaultIdentity | back to summary |
|---|---|
public void testSshWithDefaultIdentity() throws Exception
| |
| testSshWithGlobalIdentity | back to summary |
|---|---|
public void testSshWithGlobalIdentity() throws Exception
| |
| testSshWithMinimalHostKeyAlgorithmsInConfig | back to summary |
|---|---|
public void testSshWithMinimalHostKeyAlgorithmsInConfig() throws Exception
| |
| testSshWithNoMatchingAuthInConfig | back to summary |
|---|---|
public void testSshWithNoMatchingAuthInConfig() throws Exception
| |
| testSshWithoutConfig | back to summary |
|---|---|
public void testSshWithoutConfig() throws Exception
| |
| testSshWithoutKnownHosts | back to summary |
|---|---|
public void testSshWithoutKnownHosts() throws Exception
| |
| testSshWithoutKnownHostsDeny | back to summary |
|---|---|
public void testSshWithoutKnownHostsDeny() throws Exception
| |
| testSshWithoutKnownHostsWithProviderAcceptNew | back to summary |
|---|---|
public void testSshWithoutKnownHostsWithProviderAcceptNew() throws Exception
| |
| testSshWithoutKnownHostsWithProviderAsk | back to summary |
|---|---|
public void testSshWithoutKnownHostsWithProviderAsk() throws Exception
| |
| testSshWithUnknownAuthInConfig | back to summary |
|---|---|
public void testSshWithUnknownAuthInConfig() throws Exception
| |
| testSshWithUnknownCiphersInConfig | back to summary |
|---|---|
public void testSshWithUnknownCiphersInConfig() throws Exception
| |
| testSshWithUnknownHostKeyAlgorithmsInConfig | back to summary |
|---|---|
public void testSshWithUnknownHostKeyAlgorithmsInConfig() throws Exception
| |
| testSshWithUnknownKexAlgorithmsInConfig | back to summary |
|---|---|
public void testSshWithUnknownKexAlgorithmsInConfig() throws Exception
| |
| testSshWithWrongPortInConfig | back to summary |
|---|---|
public void testSshWithWrongPortInConfig() throws Exception
| |
| testSshWithWrongUserNameInConfig | back to summary |
|---|---|
public void testSshWithWrongUserNameInConfig() throws Exception
| |