SSH login without password

Published on

if you wanna use SSH login without typing the password every time you can use keypairs: 1. Generate the key from your localhost: ssh-keygen -t rsa 2. Copy your key to the remote host: ssh-copy-id -i ~/.ssh/id_rsa.pub user@remote-system or if you don’t have ssh-copy-id binary: cat ~/.ssh/*.pub | ssh user@remote-system ‘umask 077; cat >>.ssh/authorized_keys’

How to upgrade FreeBSD Ports

Published on

1. Update your local ports tree: portsnap fetch update 2. Check if you use ports with any vulnerabilities: portaudit -Fa 3. Check your installed ports version with the actual version: portversion -v 4. Update all Ports with: portupgrade -a

SSH completion for bash

Published on

here is a fix when you use Ubuntu 10.04 Lucid Lynx and you need ssh completion in the bash: you have to create the file .bashrc in your home dir and edit that file with the following: . /etc/bash_completion