Shell Script - enable goagent proxy for vmnet8
来源:互联网 发布:kmeans算法java实现 编辑:程序博客网 时间:2024/06/05 18:26
通过本地SSH转发为vmware虚拟机开启goagent代理的一段脚本:
#!/bin/bash# filename: p4vmnat# description: enable goagent proxy for vmnet8 # login into 127 22, forward 172 8087 to 127 8087# ssh -L 172.16.172.1:8087:127.0.0.1:8087 127.0.0.1 -Nfssh_cmd='ssh -L 172.16.172.1:8087:127.0.0.1:8087 127.0.0.1 -Nf'# echo "${ssh_cmd}"for pid in $(pgrep -f "${ssh_cmd}")do echo $pid kill -9 $pid 2>/dev/nulldone# expr "${ssh_cmd}" # expr won't prompt us to input passwdeval "${ssh_cmd}"
- Shell Script - enable goagent proxy for vmnet8
- guid for shell script
- ADSL connect for Shell Script
- Tips for windows shell script
- gnuplot shell-script for example
- 使用chrome+goagent+Proxy SwitchySharp
- goagent proxy.ini 配置介绍
- goagent proxy.ini 配置介绍
- enable/disable ie proxy
- Shell Script for Downloading Songs from BaiduMP3
- a shell script for monitoring the services
- a simple shell script for ftp
- Shell Script中FOR循环的使用
- shell script - usuage of the for loop
- Shell Script Execution Guidelines for Newbies
- How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ?
- charles提示“SSL Proxying not enabled for this host: enable in Proxy Settings, SSL locations”
- RaspberryPi: Proxy Server (Goagent-->XX-Net)
- MFC,数据库笔记
- putty连linux,显示Network error:Connection refused
- Ubuntu Linux 菜鸟正在入门学习(二)——常用shell命令
- GPIO编程原理
- hypermesh 快捷键
- Shell Script - enable goagent proxy for vmnet8
- 2080法则
- 面试时候的智力题
- VC 中的ADO数据库开发
- ShowDialog 传值
- My BlackBerry
- CDH中的JobTracker HA方案介绍
- 黑马程序员_IO(2) 对象流&合并流&管道流及其他流与字符编码
- MFC 设置光标 SetCursor(HCURSOR hCursor)用法。