Scp上传文件

scp -P 22 /path/file sshuser@hostname:/path -P 大写P,后是ssh端口 需要传到服务器的文件路径 sshuser: 服务器ssh用户 hostname: 服务器IP

2025年09月29日