linux系统下,scp 使用非默认端口进行传输需要添加参数-P(大写),ssh需要添加参数-p(小写),ssh-copy-id需要添加参数-p(小写)。实例:在scp命令中。需要大写。如下:[root@localhost data]# scp -P 28 -r fina_info20120904.zip root@58.213.14.170:/home/huanliu/data在ssh远程命令中
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号