scp -P 端口号 文件名 username@server
不然可能会报错
ssh: connect to host my_server port 22: Connection refused
端口号: No such file or directory
scp -P 端口号 文件名 username@server
不然可能会报错
ssh: connect to host my_server port 22: Connection refused
端口号: No such file or directory