How to upload/download files using apache SSHD ScpClient
问题 I don't know what I doing wrong in setting up a ScpClient to send/receive files. I am using Apache MINA SSHD library to start a SSH server and try to copy files to/from it. Here is my setup: SSHServer.java public class SSHServer { private SshServer sshServer; private static final Logger logger = LoggerFactory.getLogger(SSHServer.class); public SSHServer() { sshServer = SshServer.setUpDefaultServer(); sshServer.setHost("127.0.0.1"); sshServer.setPort(22); sshServer.setKeyPairProvider(new