我已经通过 SSH 连接到服务器。如何使用 SCP 和当前 SSH 连接将文件从它传输到我连接的机器?
问问题
400 次
1 回答
1
您可以使用 zssh(zmodem like app for ssh)。
但是,如果您只是想避免 ssh 再次提示输入密码,只需将客户端主机公钥(生成一次运行 ssh-keygen)放在服务器上 ~/.ssh/authorized_keys
来自“apt-cache show zssh”:
Description: interactive file transfers over ssh
zssh (Zmodem SSH) is a program for interactively transferring files to a
remote machine while using the secure shell (ssh). It is intended to
be a convenient alternative to scp, allowing to transfer files without
having to open another session and re-authenticate oneself.
于 2010-10-20T14:21:49.460 回答