putty和psftp命令行参数
来源:互联网 发布:mysql storage engine 编辑:程序博客网 时间:2024/05/18 15:24
putty.exe [-ssh | -telnet | -rlogin | -raw] [user@]host
Example: putty -ssh -l vagrant -pw vagrant -P 2222 127.0.0.1
-V print version information and exit
-pgpfp print PGP key fingerprints and exit
-v show verbose messages
-load sessname Load settings from saved session
-ssh -telnet -rlogin -raw force use of a particular protocol
-P port connect to specified port
-l user connect with specified username
-batch disable all interactive prompts The following options only apply to SSH connections: -pw passw login with specified password
-D [listen-IP:]listen-port Dynamic SOCKS-based port forwarding
-L [listen-IP:]listen-port:host:port Forward local port to remote address
-R [listen-IP:]listen-port:host:port Forward remote port to local address
-X -x enable / disable X11 forwarding
-A -a enable / disable agent forwarding
-t -T enable / disable pty allocation
-1 -2 force use of particular protocol version
-4 -6 force use of IPv4 or IPv6
-C enable compression
-i key private key file for authentication
-m file read remote command(s) from file
-s remote command is an SSH subsystem (SSH-2 only)
-N don't start a shell/command (SSH-2 only)
例如如下bat脚本的内容:
echo ./backup_tomcat.sh > comd.txt
echo exit >> comd.txt
putty -ssh -l %user% -pw %pwd% -P %port% %ip% -m comd.txt >> aa.log
D:\Program Files (x86)\putty>psftp -h
PuTTY Secure File Transfer (SFTP) client
Release 0.63
Usage: psftp [options] [user@]host
Options:
-V print version information and exit
-pgpfp print PGP key fingerprints and exit
-b file use specified batchfile
-bc output batchfile commands
-be don't stop batchfile processing if errors
-v show verbose messages
-load sessname Load settings from saved session
-l user connect with specified username
-P port connect to specified port
-pw passw login with specified password
-1 -2 force use of particular SSH protocol version
-4 -6 force use of IPv4 or IPv6
-C enable compression
-i key private key file for authentication
-noagent disable use of Pageant
-agent enable use of Pageant
-batch disable all interactive prompts
- putty和psftp命令行参数
- 远程操作利器:putty和psftp
- putty工具命令行参数
- putty工具命令行参数
- putty工具命令行参数
- putty 命令行参数
- 【putty】putty、psftp、pscp【原创】
- 远程操作linux的利器:putty和psftp
- 远程操作linux的利器:putty和psftp
- pscp+psftp+putty的使用
- putty 使用之psftp.exe,远程服务器和本机之间上传下载。
- putty.exe命令行参数及用法
- PuTTY/PSCP、PSFTP介绍及使用
- PuTTY/PSCP、PSFTP介绍及使用
- putty psftp连接到腾讯云服务器
- 最简单SSH工具:PUTTY/PSCP/PSFTP
- putty 中psftp向linux传送文件夹
- 【转】putty 及其相关工具 使用(pscp、psftp、plink)
- javaMial实例
- android is library 错误
- 使用VLOOUP()函数时要注意的问题
- a华2
- web.xml的一点见解
- putty和psftp命令行参数
- Windows Server 2012 VDI 标准部署之用户连接测试
- 英担心“虐囚案”遭国际调查 外交大臣竭力否认
- 3
- Oracle10g:DBA身份登陆iSQL*Plus的配置方法
- android-----JNI中的log打印
- org.json.JSONException: Value of type java.lang.String cannot be converted to JSONObject
- JS 获取 radio value的代码
- gcc 编译器常用的命令行参数一览