Registry / networking / sshd-scp

sshd-scp

JSON →
library2.17.1javamavenunverified

Apache MINA SSHD module providing SCP (Secure Copy Protocol) support for file transfer over SSH.

<dependency> <groupId>org.apache.sshd</groupId> <artifactId>sshd-scp</artifactId> <version>2.17.1</version> </dependency>
INSTALL
IMPORT
SIG · SSHD-SCP
S
sshd-scp
networkingjavav2.17.1
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.

ScpClient
org.apache.sshd.client.scp.ScpClient

Connects via SSH and uploads a file using SCP.

import org.apache.sshd.client.scp.ScpClient; import org.apache.sshd.client.SshClient; SshClient client = SshClient.setUpDefaultClient(); client.start(); ScpClient scp = client.connect("user", "host", 22).verify().getSession().createScpClient(); scp.upload("local.txt", "/remote/");
Debug
Known issues
gotchaSCP is deprecated in favor of SFTP; some servers may not support SCP.
fix
Use SFTP (SftpClient) instead for better compatibility and security.
affects: all
Upgrade
Version history
2.17.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
OpenAI (training)
1
Resources
sshd-scp — mvn dependency:get sshd-scp · libregistry