Tag: ssh

  • Hint of the day: @digitalocean and not mounting sshfs at boot

    In /etc/fstab, be sure to add the option: _netdev As it will attempt to start the network mounted sshfs before networking has been started. The entire line looks like this: user@host:/some/dir /local/path fuse.sshfs defaults,idmap=user,_netdev  0 0 From the man pages: _netdev The filesystem resides on a device that requires network access (used to prevent the…

  • Rsync backups

    My own simple rsync backup ‘script’. You’ll need a rsync server, something to backup, and ssh-agent running to ease the process (or, fill in your password each time). Add the following lines (using a terminal text editor) to a text file (“.rsync” for example, hidden files under Unix-like systems), and chmod +x $file. rsync –archive…