Interface AgentConnection
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
UnixSocketAgentConnection
A duplex byte channel to a running SSH authentication agent.
sshj ships UnixSocketAgentConnection for the SSH_AUTH_SOCK unix-domain socket
used by OpenSSH on Linux and macOS. Implement this yourself to reach an agent over a different
transport, e.g. a Windows named pipe / Pageant, or a socket your application already owns.
-
Method Summary
-
Method Details
-
getInputStream
- Throws:
IOException
-
getOutputStream
- Throws:
IOException
-