手机
当前位置:查字典教程网 >脚本专栏 >linuxshell >win下调用putty执行命令脚本分享
win下调用putty执行命令脚本分享
摘要:复制代码代码如下:@echooffecho===============================echoProductionserv...

复制代码 代码如下:

@echo off

echo ===============================

echo Production server

echo ===============================

echo please input "y" to continue......

set /p input=

if "%input%"=="y" (

"putty.exe" -pw serverPassword -m script.txt username@IP

echo reboot server command executed.

) else echo Does not execute any command

pause

【win下调用putty执行命令脚本分享】相关文章:

vtune自动化安装脚本

实现批量linux格式化硬盘和挂载硬盘脚本分享

一句话Shell命令关闭不需要的随机启动服务

linux自动重启tomcat脚本分享

linux自动清理日志脚本分享

阿里云主机一键安装lamp、lnmp环境的shell脚本分享

使用curl递归下载软件脚本分享

CentOS下redis自启动shell脚本

CPU负载监控脚本代码

ftp自动上传脚本分享

精品推荐
分类导航