This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo servicePort=4200 >> ~/Library/Application\ Support/CrashPlan/ui.properties | |
echo Open your Crashplan client after the SSH session connects. | |
# Change $SERVER to the hostname or IP of your server. Or just pause here. | |
ssh -L 4200:localhost:4243 $SERVER | |
echo Reverting settings file... | |
sed -e /servicePort/d -i bak ~/Library/Application\ Support/CrashPlan/ui.properties |
NewerOlder