我想自动复制scp.如果我使用默认的ssh端口,URI将如下所示:
scp
scp://root@host:/root/ids/rules.tar.gz
但我改变了我的ssh端口3131.如何获取ssh端口并将其附加到scp命令?
3131
ssh scp
scp ×1
ssh ×1