scp - 安全复制(远程文件复制程序)
2023-09-11 14:18:19 时间
总览 SYNOPSIS
scp -words [-pqrvBC1246 ] [-F ssh_config ] [-S program ] [-P port ] [-c cipher ] [-i identity_file ] [-l limit ] [-o ssh_option ] [[user@ ] host1 : file1 ] [... ] [[user@ ] host2 : file2 ]
描述 DESCRIPTION
在网络中的主机间进行文件复制。它用 ssh(1) 来传输及验证数据,提供与 ssh(1)相同的安全保护。 它不象 rcp(1),会根据需要询问口令。
在任何文件名中都可以包含主机名和用户名,用来指定从/向该主机复制此文件。 Copies between two remote hosts are permitted.
The options are as follows:
- -c cipher
- Selects the cipher to use for encrypting the data transfer. This option is directly passed to ssh(1).
- -i identity_file
- Selects the file from which the identity (private key) for RSA authentication is read. This option is directly passed to ssh(1).
- -l limit
- Limits the used bandwidth, specified in Kbit/s.
- -p
- Preserves modification times, access times, and modes from the original file.
- -r
- 递归复制整个目录。
- -v
- 详细模式。该选项使 和 ssh(1) 打印出关于运行情况的调试信息。在进行调试连接、验证和配置问题时,这会很有用的
- -B
- 用批模式(避免重复询问口令)。
- -q
- Disables the progress meter.
- -C
- 允许压缩。向 ssh(1) 传递 -C 标志以允许压缩。
- -F ssh_config
- Specifies an alternative per-user configuration file for ssh This option is directly passed to ssh(1).
- -P port
- Specifies the port to connect to on the remote host. Note that this option is written with a capital `P' because -p is already reserved for preserving the times and modes of the file in rcp(1).
- -S program
- Name of program to use for the encrypted connection. The program must understand ssh(1) options.
- -o ssh_option
- Can be used to pass options to ssh in the format used in ssh_config5. This is useful for specifying options for which there is no separate scp command-line flag.
- -1
- Forces to use protocol 1.
- -2
- Forces to use protocol 2.
- -4
- Forces to use IPv4 addresses only.
- -6
- Forces to use IPv6 addresses only.
相关文章
- 微信小程序——gulp处理文件
- 打包docker镜像并使用文件导入
- Visual Studio 2013 无法正常打开项目文件
- 外排序(大文件内存不够无法一次加载)
- Flink(55):Flink高级特性之流式文件写入(Streaming File Sink)
- Qt编写推流综合应用示例(文件推流/桌面推流/本地摄像头/网络摄像头/转发推流/视频分发)
- 文件上传绕过安全狗WAF实战
- IIS 编译器错误消息: CS0016未能写入输出文件“c:WINDOWSMicrosoft.NETFrameworkv1.1.4322Temporary ASP.NET Filesroo
- Atitit table的类型 表类型目录1. 元数据表 日志表 12. 按照文件结构分为堆组织表(HOT)和索引组织表(IOT) 13. 内存表和文件存储表q 24. 全局表 2
- WEB漏洞攻防 - 文件上传漏洞 - 配和文件解析漏洞绕过安全检测突破文件上传漏洞
- c# - WebClient下载https协议文件报错 System.Net.WebException: 请求被中止: 未能创建 SSL/TLS 安全通道 - 解决
- C++使用ZLIB库进行文件解压缩(亲测可用)
- 【Android 安装包优化】Tint 着色器 ( 简介 | 布局文件中的 Tint 着色器基本用法 | 代码中使用 Tint 着色器添加颜色效果 )
- 【Android 安全】DEX 加密 ( Java 工具开发 | apk 文件签名 )
- 【Android 安全】DEX 加密 ( Java 工具开发 | 加密解密算法 API | 编译代理 Application 依赖库 | 解压依赖库 aar 文件 )
- 【Android 安全】DEX 加密 ( 代理 Application 开发 | 解压 apk 文件 | 判定是否是第一次启动 | 递归删除文件操作 | 解压 Zip 文件操作 )
- 【Android 安全】DEX 加密 ( 代理 Application 开发 | multiple-dex-core 依赖库开发 | 配置元数据 | 获取 apk 文件并准备相关目录 )
- 【Android 安全】DEX 加密 ( DEX 加密原理 | DEX 加密简介 | APK 文件分析 | DEX 分割 )
- C语言使用技巧(二十三):汇总十几种C语言将输出数据或打印的结果保存到文件的方法
- leaflet 读取上传的geojson文件,转换为wkt文件(057)
- ubuntu查询硬盘使用情况及文件或文件夹大小命令
- 系统调用——本质:多个进程都需要访问系统资源,为了更好的管理这些资源,进程是不允许直接操作的,因此有了系统调用,你看为什么打开文件open函数是系统调用,因为他要管理文件描述符(总数有限制)啊
- linux 文件标志位 setuid与setgid与stick bit 详解
- 一天学完spark的Scala基础语法教程十三、文件IO操作(idea版本)
- Kubernetes 检查YAML文件安全配置:kubesec
- 系统编程(二)文件IO之常用API open write lseek read close