Categories
Blog

Restart Transmission from Synology Terminal

/var/packages/transmission/scripts/start-stop-status stop
/var/packages/transmission/scripts/start-stop-status start
Categories
Blog

Restart macOS Screen Sharing Service via SSH

Sometimes screen sharing service on your headless Mac mini may crash. This should fix the issue:

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.screensharing.plist  
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist
Categories
Blog

Upgrade UniFi Cloud Key Firmware via SSH

First download latest firmware from Ubiquiti download page, then execute the following command on UniFi Cloud Key via SSH:

ubnt-systool fwupdate https://dl.ubnt.com/unifi/cloudkey/firmware/UCK/UCK.mtk7623.v0.13.10.e171d89.190327.1752.bin
Categories
Blog

rsync and sudo over SSH | crashingdaily

I do not have a root password for many of the servers I interact with so I can not SSH directly in as the root user. Also, the ssh daemons are wisely configured with ‘PermitRootLogin’ s…

Source: rsync and sudo over SSH | crashingdaily