Reset SSH keys Debian

Remove authorized keys rm -f /root/.ssh/authorized_keys Generate new RSA key ssh-keygen -t rsa -b 4096 Remove existing host keys rm -rfv /etc/ssh/*key* Automatically regenerate host

Read More »

How to update Debian

To do a safe update run: aptitude update aptitude safe-upgrade To upgrade from one release to another run: aptitude update aptitude full-upgrade

Read More »

Alllow root login on AWS VPS

Login to the box with your key. ie: ssh -i “/root/your_aws_key.pem” centos@public-ip-address Define root password sudo passwd Switch to user root su root Allow root

Read More »