当前位置: 首页 > news >正文

知名网站规划怎么做产品推广平台

知名网站规划,怎么做产品推广平台,湘潭平台公司,logo设计在线生成免费影子Secure Copy Protocol or SCP - 安全拷贝协议 1. scp 文件传输1.1. 将远程文件拷贝到本地1.2. 将本地文件拷贝到远程1.3. 将远程目录拷贝到本地 References Secure Copy (remote file copy program) The SCP program is a software tool implementing the SCP protocol as a s…

Secure Copy Protocol or SCP - 安全拷贝协议

  • 1. scp 文件传输
    • 1.1. 将远程文件拷贝到本地
    • 1.2. 将本地文件拷贝到远程
    • 1.3. 将远程目录拷贝到本地
  • References

Secure Copy (remote file copy program)

The SCP program is a software tool implementing the SCP protocol as a service daemon or client. It is a program to perform secure copying. The SCP server program is typically the same program as the SCP client. The SCP Server software can be installed on a Regular Machine and be configured to only accept SCP Traffic on port 22 through the firewall for greater security.

Perhaps the most widely used SCP program is the command line scp program, which is provided in most SSH implementations. The scp program is the secure analog of the rcp command. The scp program must be part of all SSH servers that want to provide SCP service, as scp functions as SCP server too.

Some SSH implementations provide the scp2 program, which uses the SFTP protocol instead of SCP, but provides the very same command line interface as scp. scp is then typically a symbolic link to scp2.

Copying file to host:

scp SourceFile user_name@host_ip:directory/TargetFile

Copying file from host:

scp user_name@host_ip:directory/SourceFile TargetFile
scp -r user_name@host_ip:directory/SourceFolder TargetFolder

Note that if the remote host uses a port other than the default of 22, it can be specified in the command. For example, copying a file from host:

scp -P 2222 user_name@host_ip:directory/SourceFile TargetFile

1. scp 文件传输

将本地文件拷贝到远程:scp 本地路径/文件名 用户名@计算机 IP 或计算机名称:远程路径
将远程文件拷贝到本地:scp 用户名@计算机 IP 或计算机名称:远程路径/文件名 本地路径
将本地目录拷贝到远程:scp -r 本地路径/目录名 用户名@计算机 IP 或计算机名称:远程路径
将远程目录拷贝到本地:scp -r 用户名@计算机 IP 或计算机名称:远程路径/目录名 本地路径

1.1. 将远程文件拷贝到本地

strong@foreverstrong:~$ scp yongqiang@***.***.***.***:/home/yongqiang/darknet_work/darknet_180516/darknet-master.zip /home/strong/Desktop/download/
yongqiang@***.***.***.***'s password: 
darknet-master.zip                                                                                                                   100% 3571KB   3.5MB/s   00:01    
strong@foreverstrong:~$
or
strong@foreverstrong:~/Desktop/download$ scp yongqiang@***.***.***.***:/home/yongqiang/darknet_work/darknet_180516/darknet-master.zip .
yongqiang@***.***.***.***'s password: 
darknet-master.zip                                                                                                         100% 3571KB   3.5MB/s   00:00    
strong@foreverstrong:~/Desktop/download$ ll
total 3580
drwxrwxr-x 2 strong strong    4096 May 27 11:46 ./
drwxr-xr-x 7 strong strong    4096 May 27 11:37 ../
-rw-rw-r-- 1 strong strong 3656551 May 27 11:46 darknet-master.zip
strong@foreverstrong:~/Desktop/download$

1.2. 将本地文件拷贝到远程

strong@foreverstrong:~$ scp /home/strong/Desktop/download/darknet-master.zip yongqiang@***.***.***.***:/home/yongqiang/Downloads/
yongqiang@***.***.***.***'s password: 
darknet-master.zip                                                                                                                       100% 3571KB   3.5MB/s   00:00    
strong@foreverstrong:~$
or
strong@foreverstrong:~/Desktop/download$ scp ./darknet-master.zip yongqiang@***.***.***.***:/home/yongqiang/Downloads/
yongqiang@***.***.***.***'s password: 
darknet-master.zip                                                                                                         100% 3571KB   3.5MB/s   00:00    
strong@foreverstrong:~/Desktop/download$

1.3. 将远程目录拷贝到本地

strong@foreverstrong:~$ scp -r yongqiang@***.***.***.***:/home/yongqiang/Downloads /home/strong/Desktop/download/
yongqiang@***.***.***.***'s password: 
darknet-master.zip                                                                                                                       100% 3571KB   3.5MB/s   00:01    
strong@foreverstrong:~$
or
strong@foreverstrong:~/Desktop/download$ scp -r yongqiang@***.***.***.***:/home/yongqiang/Downloads ./
yongqiang@***.***.***.***'s password: 
darknet-master.zip                                                                                                         100% 3571KB   3.5MB/s   00:01    
strong@foreverstrong:~/Desktop/download$ ll
total 12
drwxrwxr-x 3 strong strong 4096 May 27 12:10 ./
drwxr-xr-x 7 strong strong 4096 May 27 11:37 ../
drwxr-xr-x 2 strong strong 4096 May 27 12:10 Downloads/
strong@foreverstrong:~/Desktop/download$

References

[1] Yongqiang Cheng, https://yongqiang.blog.csdn.net/

http://www.hkea.cn/news/410943/

相关文章:

  • web网站开发公司网站制作优化排名
  • 这么做3d网站企业邮箱网页版
  • 瑞安网站建设公司关键词排名网络推广
  • 南京学做网站友情链接检查工具
  • 参考文献网站开发百度重庆营销中心
  • 如何做微信ppt模板下载网站企业网页设计公司
  • 做b2b网站百度点击快速排名
  • 网站怎么做移动图片不显示不出来吗芭嘞seo
  • 旅游网站建设服务器ip域名解析
  • 企业网站建设三个原则百度指数资讯指数是指什么
  • 房地产集团网站建设方案软文文案案例
  • 阜蒙县建设学校网站是什么北京seo编辑
  • 珠海建设局网站十大经典事件营销案例分析
  • 创建网站开发公司互联网推广引流是做什么的
  • 万盛集团网站建设seo网站推广全程实例
  • 做教育的网站需要资质吗网站怎么开发
  • 微网站怎么做滚动中国万网域名注册官网
  • 个人如何免费建网站seo在线优化工具 si
  • 双线主机可以做彩票网站吗网络推广合作协议
  • 做外贸的b2b网站域名批量查询系统
  • 建设网站需要哪些职位网站建设策划书
  • 苏州网站建设哪里好网站点击排名优化
  • 网站建设收费标准策划百度推广关键词越多越好吗
  • 网站怎么做更新吗如何建立网页
  • 国外建设工程招聘信息网站tool站长工具
  • 专业做相册书的网站电商网站建设制作
  • 银川网站开发公司电话东莞网
  • 环境保护局网站管理制度建设百度指数的主要功能有
  • 安装wordpress提示500错误关键词优化的策略有哪些
  • 企业网站建设公司排名深圳高端seo公司助力企业