Passwordless SSH login

You want to use Linux and OpenSSH to run an automated task. Therefore you need an automatic login from your PC with user A to a server with user B. You can't use any passwords, since you're calling SSH from within a shell script. Setup The first thing to do…

Automounting remote filesystems with AutoFS and SSHFS

Installation We need to install a few things first to be able to make this work: sudo apt-get install autofs sshfs Manual mounting Then we'll make a folder to mount our folders in, for example /mnt/sshfs: sudo mkdir /mnt/sshfs To mount our remote filesystem for testing purposes we…

Setting up unbound DNS as a validating, recursive, authoritative and caching DNS server in Debian-based distributions

Installation All you have to do is run this as root: apt-get install unbound Things to make it work Step 1 ยท root hints: This is the file which contains the listing of primary root DNS servers. Unbound has a listing of root DNS servers in its code, but we want…