This is the proxy settings on my mac.
- HTTPS requests be diverted to SSH Proxy.
- HTTP requests be diverted to GoAgent Proxy.
- modify
proxy.pac
with your HTTP, HTTPS proxies hosts. - modify
com.dongbeta.autossh.plist
with your SSH account. - modify
com.dongbeta.goagent.plist
with your goagent settings. - put
com.dongbeta.autossh.plist
andcom.dongbeta.goagent.plist
under~/Library/LaunchAgents/
and run
launchctl load -w ~/Library/LaunchAgents/com.dongbeta.autossh.plist
launchctl load -w ~/Library/LaunchAgents/com.dongbeta.goagent.plist
launchctl unload -w ~/Library/LaunchAgents/com.dongbeta.autossh.plist
launchctl load -w ~/Library/LaunchAgents/com.dongbeta.autossh.plist
launchctl unload -w ~/Library/LaunchAgents/com.dongbeta.goagent.plist
launchctl load -w ~/Library/LaunchAgents/com.dongbeta.goagent.plist
launchctl unload -w ~/Library/LaunchAgents/com.dongbeta.autossh.plist
rm ~/Library/LaunchAgents/com.dongbeta.autossh.plist
launchctl unload -w ~/Library/LaunchAgents/com.dongbeta.goagent.plist
rm ~/Library/LaunchAgents/com.dongbeta.goagent.plist