VNC service start and stop with a script in Mac OS X
Create a file called, for example, startVNC and fill it with: sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts...
View ArticleUsing screen to leave processes running in a terminal
If you are using an SSH connection and run a command that takes very long to process you can use nohup to prevent that process to be terminated when you logout from the SSH session: nohup command >...
View ArticleActivate the SSH daemon in Raspbian
$ sudo rm /etc/ssh/ssh_host_* && sudo dpkg-reconfigure openssh-server Ref: http://elinux.org/RPi_Remote_Access
View ArticleConnect to MySQL over SSH with MySQL Workbench
If you don’t have phpMyAdmin installed on your server or you don’t feel comfortable using it there’s the option to connect over SSH to MySQL with MySQL Workbench. I didn’t know this could be done until...
View ArticleEnable SSH server in a headless Raspberry Pi
Raspbian come by default with SSH server deactivated so if you have a headless Raspberry Pi you won’t be able to access it. The easy way to activate SSH server without even powering on the device is by...
View ArticleMount a folder via sshfs in Ubuntu with permissions to other users
After installing sshfs in Ubuntu:sudo apt-get install sshfsYou can mount a folder located in a remote machine via SSH with a command like this:sudo sshfs user@remote_server:/remote_folder...
View Article