当前位置:网站首页>PSCP basic usage
PSCP basic usage
2022-04-23 11:48:00 【FMsunyh】
PSCP Basic use
problem :
How to avoid password input , Transmit data
“sshpass is not recognized” on Windows"
PSCP: yes Putty The file transfer tool , Used for file transfer between two computers
a key : You can add a password to the command , Unlike SCP You need to enter the password separately
download putty Tools
putty Tools
operation 1:
Transfer files locally to the server (window to linux)
PSCP -pw 12345678 C:\Users\Firmi\Desktop\test.txt [email protected]:/root/
operation 2:
Download files from the server (linux to window)
PSCP -pw 12345678 [email protected]:/root/test.txt C:\Users\Firmi\Desktop\
Parameters
pscp Grammar basic and scp identical , But there are also a few points :
-p When copying files, keep the time when the source file was created .
-q When copying files , Do not display any prompt messages .
-r Copy the entire directory
-v When copying files , Display prompt message .
Usage:
pscp [options] [user@]host:source target
pscp [options] source [source...] [user@]host
pscp [options] -ls user@host:filespec
usage :
pscp [ Options ] [ user name @] host : Source file Target file
pscp [ Options ] Source file [ Source file ……] [ user name @] host
pscp [ Options ] -ls user name @ host : File space ?
Options:
Options :
-p preserve file attributes Protect file properties
-q quiet, don't show statistics quiet , Do not display statistics
-r copy directories recursively Copy subfolders
-V print version information and exit display information
-v show verbose messages
-load sessname Load settings from saved session
-load load , Load and save section settings
-P port connect to specified port
-P port , Connect to the specified space port
-l user connect with specified username
-l user , Use the specified user connection space
-pw passw login with specified password
-pw password , Log in to the space with the specified password
-1/-2 Force ssh Version used
-4 -6 force use of IPv4 or IPv6
-C Turn on compression
-i key The key , Key document for certification
-batch Turn off interaction , Maybe
-unsafe unsafe , Allow the servo end to replace the character ( dangerous )
Reference resources
版权声明
本文为[FMsunyh]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231130558860.html
边栏推荐
- 激活函数之relu函数
- Pytorch neural network trainer
- 让中小学生在快乐中学习的创客教育
- 配电房远程综合监控系统在10kV预制舱项目中的应用
- Resolution due to AMD not found_ ags_ x64. DLL, unable to continue code execution. Reinstallation of the program may solve this problem, Forza horizon 5
- GPU, CUDA,cuDNN三者的关系总结
- Fabric 1.0源代码分析(33) Peer #peer channel命令及子命令实现
- PSCP 基本使用
- Database design of forum system
- Step function of activation function
猜你喜欢
随机推荐
How imeu is associated with imcu (IM 5.5)
IFLYTEK's revenue in 2021 was 18.3 billion yuan: a year-on-year increase of 41% and a net profit of 1.556 billion yuan
Yunna | how to manage the company's fixed assets and how to manage fixed assets
Database design of simple voting system
Redis learning 5 - high concurrency distributed lock practice
Résumé de la relation entre GPU, cuda et cudnn
AcWing 1874. 哞加密(枚举,哈希)
初探 Lambda Powertools TypeScript
第四章 为IM 启用填充对象之启用和禁用列(IM-4.3 第三部分)
The listing of saiweidian Technology Innovation Board broke: a decrease of 26% and the market value of the company was 4.4 billion
On the integration of steam education in early childhood education
nacos基础(8):登录管理
Redis optimization series (II) redis master-slave principle and master-slave common configuration
博客文章导航(实时更新)
一文详解头部位姿估计【收藏好文】
解读机器人编程课程的生物认知度
IM表达式如何工作(5.3)
Usage record of map < qstring, bool >
5个免费音频素材网站,建议收藏
Application of remote integrated monitoring system in power distribution room in 10kV prefabricated cabin project