mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 07:10:53 +03:00
- fix ip for online testing
This commit is contained in:
@@ -36,7 +36,7 @@ public class IntegrationTest {
|
||||
public void shouldConnect() throws IOException {
|
||||
SSHClient sshClient = new SSHClient(new DefaultConfig());
|
||||
sshClient.addHostKeyVerifier(new PromiscuousVerifier());
|
||||
sshClient.connect("192.168.99.100", 2222);
|
||||
sshClient.connect("127.0.0.1", 2222);
|
||||
sshClient.authPublickey("sickp", "src/test/resources/id_rsa.ppk");
|
||||
assertThat("Is connected", sshClient.isAuthenticated());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user