OpenSSH: Disable password based login, force public/private key based auth

Be sure to already have a working public/private key ssh login setup. Otherwise you’ll be locked out after activating this changes! Change the following config parameters in /etc/ssh/sshd_config to read as: ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no Restart sshd. Have fun. Stay more secure. Is your SSHd listening on the default port Read more…

Convert dmg to img / iso on Ubuntu Linux

Ever wondered how to convert a Apple DMG file to ISO? Example for Ubuntu: In a shell type: sudo apt-get install dmg2img Usage after installation: dmg2img /path/to/source/dmg /path/to/target/img Depending on your system, conversion could take quite a while… Mounting the image: modprobe hfsplus mount -t hfsplus -o loop /path/to/source.img /mnt/folder