scp指定端口要用-P, 且要放在host前面August 22, 2022 · One min readScottBMK如图,这样是会报错的应该这样:scp -P 39999 -r slimx store@192.168.31.183:~/go/src/github.com/scott-x