Mac 把本地文件上传到远端服务器

本文介绍了如何在Mac操作系统中利用scp命令行工具将本地文件安全地上传到远端Linux服务器。通过提供本地文件的绝对路径和目标服务器的用户名、IP地址及目标路径,可以轻松实现文件传输。
摘要由CSDN通过智能技术生成
scp /Users/aaa/Downloads/arcconf_v3_03_23668/linux_x64/rpm/Arcconf-3.03-23668.x86_64.rpm root@10.129.19x.xx:/home/
(base) aaa@aaa-MacBook-Pro ~ % scp /Users/aaa/Downloads/arcconf_v3_03_23668/linux_x64/rpm/Arcconf-3.03-23668.x86_64.rpm root@10.129.19x.xx:/home/

The authenticity of host '10.129.19x.xx (10.129.196.xx)' can't be established.
ECDSA key fingerprint is SHA256:bIwE6YcVmC3T10OzFh+JoPRIEHtGULk9eLEFckTnKBw.
Are you sure you want to continue connecting (yes/no/[fingerprint])? y
Please type 'yes', 'no' or the fingerprint: yes
Warning: Permanently added '10.129.19x.xx' (ECDSA) to the list of known hosts.
root@10.129.19x.xx's password: 
Permission denied, please try again.
root@10.129.196.xx's password: 
Arcconf-3.03-23668.x86_64.rpm                 100% 5928KB  66.9MB/s   00:00  

服务器文件下载到本机:

scp root@10.135.2xx.xx:/serve
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值