Registry / networking / sshd-sftp

sshd-sftp

JSON →
library2.18.0javamavenunverified

SFTP subsystem implementation for the Apache MINA SSHD library, enabling file transfer over SSH.

<dependency> <groupId>org.apache.sshd</groupId> <artifactId>sshd-sftp</artifactId> <version>2.18.0</version> </dependency>
INSTALL
IMPORT
SIG · SSHD-SFTP
S
sshd-sftp
networkingjavav2.18.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SftpClient
org.apache.sshd.sftp.client.SftpClient

Connects to an SFTP server and reads a file.

import org.apache.sshd.sftp.client.SftpClient; import org.apache.sshd.client.SshClient; import org.apache.sshd.client.session.ClientSession; SshClient client = SshClient.setUpDefaultClient(); client.start(); ClientSession session = client.connect("user", "host", 22).verify().getSession(); session.addPasswordIdentity("password"); session.auth().verify(); SftpClient sftp = session.createSftpClient(); sftp.read("/path/to/file"); sftp.close(); session.close(); client.stop();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.18.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
sshd-sftp — mvn dependency:get sshd-sftp · libregistry