自己主动化脚本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 手工測试用例与自己主动化測 ...
随机推荐
- C# 将string 转换为二维码图片,然后转为base64字符串编码 。
需在nuget 添加此dll ///content字符串 public static string GetQRCode(string content, int moduleSize = 9) { va ...
- Ubuntu PPA 使用指南
作者: Abhishek Prakash 译者: LCTT jlztan | 2019-01-19 11:02 一篇涵盖了在 Ubuntu 和其他 Linux 发行版中使用 PPA 的几乎所有问题的深 ...
- 'mingw32-make' 不是内部或外部命令,也不是可运行的程序 或批处理文件。(的解决方案)
问题如上. 解决方案:找到mingw32-make,方法是在计算中搜索 然后将其复制到C:Windows\System32下,需要管理员权限才能复制的情况下直接点继续.然后就可以了.
- debug和release的区别
Debug和Release,主要是针对其面向的目标不同的而进行区分的.Debug通常称为调试版本,通过一系列编译选项的配合,编译的结果通常包含调试信息,而且不做任何优化,以为开发人员提供强大的应用程序 ...
- 【codeforces 370C】Mittens
[题目链接]:http://codeforces.com/problemset/problem/370/C [题意] 给你n个人,每个人都有一双相同颜色的手套; 然允许在所有人之间交换手套; (每个人 ...
- 在pycharm中配置Anaconda以及pip源配置
在学习推荐系统.机器学习.数据挖掘时,python是非常强大的工具,也有很多很强大的模块,但是模块的安装却是一件令人头疼的事情. 现在有个工具--anaconda,他已经帮我们集成好了很多工具了!an ...
- spark一些入门资料
spark一些入门资料 A Scala Tutorial for Java Programmers http://docs.scala-lang.org/tutorials/scala-for-jav ...
- 1.Swift教程翻译系列——关于Swift
英文版PDF下载地址http://download.csdn.net/detail/tsingheng/7480427 我本来是做JAVA的.可是有一颗折腾的心,苹果公布Swift以后就下载了苹果的开 ...
- 怎样解除内容审查程序的password
如题:怎样解除内容审查程序的password 在不知道password的情况下.通过改动注冊表解决.点击"開始"→"执行",输入"regedit&qu ...
- 图像几何变换(geometric transformation)
1. imwarp B = imwarp(A,tform) demo I = imread('cameraman.tif'); tform = affine2d([1 0 0; .5 1 0; 0 0 ...