Category Archives: Ubuntu

Waiting for server to accept SSH connections

Sometimes you need to wait for a just booted server to accept SSH connections. This can be solved with a one-line bash script:

 

Posted in Debian, Ubuntu | Comments Off on Waiting for server to accept SSH connections

npm install fails with “npm ERR! tar.unpack untar error”

Problem npm failed randomly while installing packages. It didn’t matter which packages or if running on Debian itself or inside virtual machines using Ubuntu (vagrant). Upgrading npm to the latest version ( sudo npm install -g npm@latest ) and clearing npm’s cache ( npm cache clean ) didn’t help either. … Continue reading

Posted in Debian, Node.js, Ubuntu, Vagrant | Comments Off on npm install fails with “npm ERR! tar.unpack untar error”

Ubuntu: Mount encrypted home directory

After changing harddrives I needed to transfer some files from the old harddrive which had an encrypted home directory. The command

did not work:

http://askubuntu.com/a/36783 pointed me in the right direction. First mount the old hard drive in … Continue reading

Posted in Ubuntu | Comments Off on Ubuntu: Mount encrypted home directory