在Windows系统上安装了SSH,并与远程主机(Linux)交换了密钥。我想在windows机器上运行一个JAR来将SCP文件放到Linux机器上。JAR从FTP服务器获取文件(当前将它们保存在映射中),我希望使用JSch SCP直接将它们放在远程Linux主机上的特定文件夹中。 final FileSystem fs = FileSystems.getDefault();
final Path <em
我目前正试图通过scp将一些文件从服务器(Ubuntu20.04)复制到域计算机(Windows 10)。scp -P (the port used for the SSH connection to the server) /folder/subfolder/file domain_account_name@domain_computer_IP:"Destination Location"
但我的scp</em