当前位置:网站首页>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
边栏推荐
- Chapter 4 specifies the attribute of the inmemory column on the no inmemory table for im enabled filling objects: examples (Part IV of im-4.4)
- 5个免费音频素材网站,建议收藏
- User interface and im expression (IM 5.6)
- Laravel增加自定义助手函数
- Laravel adds custom helper functions
- Laravel绑定钉钉群警报(php)
- Redis学习之五---高并发分布式锁实战
- After the MySQL router is reinstalled, it reconnects to the cluster for boot - a problem that has been configured in this host before
- 汇编语言 运行环境设置等教程链接整理
- Interpreting the art created by robots
猜你喜欢

实践数据湖iceberg 第三十课 mysql->iceberg,不同客户端有时区问题

Database design of forum system

Design and practice of the smallest short website system in the whole network

After the MySQL router is reinstalled, it reconnects to the cluster for boot - a problem that has been configured in this host before

Application of remote integrated monitoring system in power distribution room in 10kV prefabricated cabin project

Database design of simple voting system

分享两个实用的shell脚本

5分钟NLP:Text-To-Text Transfer Transformer (T5)统一的文本到文本任务模型
![抓包整理————tcp 协议[八]](/img/ae/4957a997af725a1bf3f61cb24fc717.png)
抓包整理————tcp 协议[八]

一文详解头部位姿估计【收藏好文】
随机推荐
C# F23.StringSimilarity库 字符串重复度、文本相似度、防抄袭
Use kettle to copy records to and get records from results
[Web 每日一练] 八色拼图(float)
Purpose of IM expression (IM 5.2)
Understanding of MQ
解读机器人编程课程的生物认知度
Chapter 4 specifies the attribute of the inmemory column on the no inmemory table for im enabled filling objects: examples (Part IV of im-4.4)
rebbitMQ的简单搭建
激活函数之sigmoid函数
nacos基础(8):登录管理
Practical data Lake iceberg lesson 30 MySQL - > iceberg, time zone problems of different clients
让中小学生在快乐中学习的创客教育
golang之筆試題&面試題01
Interpretation of biological recognition in robot programming course
Database design of simple voting system
Summary of the relationship among GPU, CUDA and cudnn
Maker education for primary and middle school students to learn in happiness
laravel 永远返回 JSON 响应
MySQL 的主从复制配置
Laravel admin time range selector daterange default value problem