Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 429 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 429 Bytes

autossh in Macos

Enable ssh service with launchctl in Macos (plist) (Autossh does not automatically restart ssh after sleeping/wakeup, so instead ssh is used.)

Files

Put com.user.sshtunnel.plist in ~/Library/LaunchAgents

Install

launchctl load com.user.sshtunnel

Manually start

launchctl start com.user.sshtunnel

Stop

launchctl stop com.user.sshtunnel

Remove

launchctl remove com.user.sshtunnel