我知道不推荐,但是可以将用户的密码传递给scp吗?
我想通过scp复制文件作为批处理作业的一部分,接收服务器当然需要密码,不,我不能轻易地将其更改为基于密钥的身份验证.
linux scp io-redirection
io-redirection ×1
linux ×1
scp ×1