您现在的位置是:网站首页> 编程资料编程资料
win下调用putty执行命令脚本分享_linux shell_
2023-05-26
301人已围观
简介 win下调用putty执行命令脚本分享_linux shell_
复制代码 代码如下:
@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
相关内容
- shell实现自动备份mysql、整站数据的两个脚本分享_linux shell_
- bash脚本中if语句的使用方法_linux shell_
- shell脚本监控mysql主从状态_linux shell_
- shell脚本实现的网站日志分析统计(可以统计9种数据)_linux shell_
- shell脚本结合iptables防端口扫描的实现_linux shell_
- 监控php-fpm并自动重启服务的shell脚本_linux shell_
- shell数组操作简明总结_linux shell_
- 使用shell脚本分析网站日志统计PV、404、500等数据_linux shell_
- 使用shell脚本采集系统cpu、内存、磁盘、网络等信息_linux shell_
- Bash Shell字符串操作小结_linux shell_
