public interface SimpleScpClient extends Channel
| Modifier and Type | Method and Description |
|---|---|
default CloseableScpClient |
scpLogin(InetAddress host,
int port,
String username,
KeyPair identity)
Creates an SCP session using the provided credentials
|
default CloseableScpClient |
scpLogin(InetAddress host,
int port,
String username,
String password)
Creates an SCP session using the provided credentials
|
default CloseableScpClient |
scpLogin(InetAddress host,
String username,
KeyPair identity)
Creates an SCP session on the default port and logs in using the provided credentials
|
default CloseableScpClient |
scpLogin(InetAddress host,
String username,
String password)
Creates an SCP session on the default port and logs in using the provided credentials
|
CloseableScpClient |
scpLogin(SocketAddress target,
String username,
KeyPair identity)
Creates an SCP session using the provided credentials
|
CloseableScpClient |
scpLogin(SocketAddress target,
String username,
String password)
Creates an SCP session using the provided credentials
|
default CloseableScpClient |
scpLogin(String host,
int port,
String username,
KeyPair identity)
Creates an SCP session using the provided credentials
|
default CloseableScpClient |
scpLogin(String host,
int port,
String username,
String password)
Creates an SCP session using the provided credentials
|
default CloseableScpClient |
scpLogin(String host,
String username,
KeyPair identity)
Creates an SCP session on the default port and logs in using the provided credentials
|
default CloseableScpClient |
scpLogin(String host,
String username,
String password)
Creates an SCP session on the default port and logs in using the provided credentials
|
default CloseableScpClient scpLogin(String host, String username, String password) throws IOException
host - The target host name or addressusername - Usernamepassword - PasswordCloseableScpClient - Note: closing the client also closes its
underlying sessionIOException - If failed to login or authenticatedefault CloseableScpClient scpLogin(String host, int port, String username, String password) throws IOException
host - The target host name or addressport - The target portusername - Usernamepassword - PasswordCloseableScpClient - Note: closing the client also closes its
underlying sessionIOException - If failed to login or authenticatedefault CloseableScpClient scpLogin(String host, String username, KeyPair identity) throws IOException
host - The target host name or addressusername - Usernameidentity - The KeyPair identityCloseableScpClient - Note: closing the client also closes its
underlying sessionIOException - If failed to login or authenticatedefault CloseableScpClient scpLogin(String host, int port, String username, KeyPair identity) throws IOException
host - The target host name or addressport - The target portusername - Usernameidentity - The KeyPair identityCloseableScpClient - Note: closing the client also closes its
underlying sessionIOException - If failed to login or authenticatedefault CloseableScpClient scpLogin(InetAddress host, String username, String password) throws IOException
host - The target host InetAddressusername - Usernamepassword - PasswordCloseableScpClient - Note: closing the client also closes its
underlying sessionIOException - If failed to login or authenticatedefault CloseableScpClient scpLogin(InetAddress host, int port, String username, String password) throws IOException
host - The target host InetAddressport - The target portusername - Usernamepassword - PasswordCloseableScpClient - Note: closing the client also closes its
underlying sessionIOException - If failed to login or authenticatedefault CloseableScpClient scpLogin(InetAddress host, String username, KeyPair identity) throws IOException
host - The target host InetAddressusername - Usernameidentity - The KeyPair identityCloseableScpClient - Note: closing the client also closes its
underlying sessionIOException - If failed to login or authenticatedefault CloseableScpClient scpLogin(InetAddress host, int port, String username, KeyPair identity) throws IOException
host - The target host InetAddressport - The target portusername - Usernameidentity - The KeyPair identityCloseableScpClient - Note: closing the client also closes its
underlying sessionIOException - If failed to login or authenticateCloseableScpClient scpLogin(SocketAddress target, String username, String password) throws IOException
target - The target SocketAddressusername - Usernamepassword - PasswordCloseableScpClient - Note: closing the client also closes its
underlying sessionIOException - If failed to login or authenticateCloseableScpClient scpLogin(SocketAddress target, String username, KeyPair identity) throws IOException
target - The target SocketAddressusername - Usernameidentity - The KeyPair identityCloseableScpClient - Note: closing the client also closes its
underlying sessionIOException - If failed to login or authenticateCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.