自己主动化脚本ssh以及telnet发送命令并退出(windows和linux都适用)
- PuTTY Link: command-line connection utility
- Unidentified build, Jun 23 2015 11:43:58
- Usage: plink [options] [user@]host [command]
- ("host" can also be a PuTTY saved session name)
- Options:
- -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 -serial
- 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
- -noagent disable use of Pageant
- -agent enable use of Pageant
- -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)
- -nc host:port
- open tunnel in place of session (SSH-2 only)
- -sercfg configuration-string (e.g. 19200,8,n,1,X)
- Specify the serial configuration (serial only)
学无止境
測试发现ssh 最多传入 1024个字符
自己主动化脚本ssh以及telnet发送命令并退出(windows和linux都适用)的更多相关文章
- windows环境telnet发送命令
telnet *.*.*.* port ,然后crtl+]进入命令模式,使用send发送消息,如:send hello,murphy 常用命令: open : 使用 openhostname 可以建立 ...
- RFC2889转发性能測试用例设计和自己主动化脚本实现
一.203_TC_FrameRate-1.tcl set chassisAddr 10.132.238.190 set islot 1 set portList {9 10} ;#端口的排列顺序是po ...
- 自己主动化 远程登陆linuxserver并运行命令 —— expect
原文地址:http://blog.csdn.net/wangyuling1234567890/article/details/41149429 LinuxserverA登陆LinuxserverB s ...
- ssh登陆并执行命令不退出
如果希望SSH登陆后先执行shell命令,可以这样: ssh user@ip -t "cd /data ; /bin/bash"
- ssh远程执行nohup命令不退出
https://blog.csdn.net/oneinmore/article/details/50073443
- Android Monkey自己主动化測试
前言 假设你做Android开发,还没有使用过Monkey进行測试,那么今天看到这篇文章,希望能解决你Android測试中的一些问题.起码能帮你省点測试的时间而且发现很多其它的问题. Monkey简单 ...
- 【金阳光測试】基于控件核心技术探讨---Android自己主动化系列(2)---2013年5月
第一讲分享了下安卓自己主动化一些概况和一些自己主动化框架现状和技术可以解决什么样的问题. 这次课就深入到android世界里面.遨游.翱翔.深入了解自己主动化測试核心技术. 搞过编程开发的同学听到in ...
- 使用Adt自带的工具进行Android自己主动化測试(三)
在这个系列的上一篇文章中,我们介绍了MonkeyRunner,并提到假设依据坐标来编写自己主动化脚本的话存在着一定的局限性(点击文末"阅读原文"能够打开这篇文章查看).这篇文章将进 ...
- Selenium2 Python 自己主动化測试实战学习笔记(五)
7.1 自己主动化測试用例 无论是功能測试.性能測试和自己主动化測试时都须要编写測试用例,測试用例的好坏能准确的体现了測试人员的经验.能力以及对项目的深度理解. 7.1.1 手工測试用例与自己主动化測 ...
随机推荐
- Mojo For Chromium Developers
Overview This document contains the minimum amount of information needed for a developer to start us ...
- [USACO4.1]篱笆回路Fence Loops
题目:USACO Training 4.1(在官网上提交需加文件输入输出).洛谷P2738. 题目大意:给你一张图里的边集,让你求出这张图的最小环. 解题思路:求最小环很简单,用Floyd即可.最重要 ...
- root of factory hierarchy
项目编译错误! project---->clean
- CentOS 6.5 安装 ffmpeg
CentOS 6.5 安装 ffmpeg 满满的坑 http://download.videolan.org/pub/videolan/x264/snapshots/ 安装ffmpeg ...
- String spilt时转义特殊字符【转】
在使用String.split方法分隔字符串时,分隔符如果用到一些特殊字符,可能会得不到我们预期的结果. 我们经常使用public String[] split(String regex)方法来拆分一 ...
- sqoop从mysql导入到hdfs出现乱码问题
最近把hive元数据库的快照数据导入到hdfs中,以便对历史的元数据进行查询. 命令如下: sqoop import -D mapred.job.queue.name=do.production -- ...
- ,典型递归问题-F(1025)mod 5 的值
watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/ ...
- [学习笔记]node.js中的path.extname方法
path.extname 返回path路径文件扩展名,如果path以 ‘.' 为结尾,将返回 ‘.',如果无扩展名 又 不以'.'结尾,将返回空值. path.extname('index.html' ...
- HBase的体系结构
- Windows Phone相关
Windows Phone IP over USB Transport (IpOverUsbSvc) is not running 进“服务”搜索 “Windows Phone IP Over USB ...