doc: echo make rsa1 - RSA1 authentication - protocol version 1 echo make rsa - RSA authentication - protocol version 2 echo make dsa - DSA authentication - protocol version 2 echo make clean-rsa1 clean-rsa clean-dsa echo or make clean # RSA1 authentication - protocol version 1 rsa1: identity authorized_keys identity identity.pub: ssh-keygen -t rsa1 -f identity -N "" -C "RSA1 Authentication `hostname`" cat identity.pub >>authorized_keys # RSA authentication - protocol version 2 rsa: id_rsa authorized_keys id_rsa id_rsa.pub: ssh-keygen -t rsa -f id_rsa -N "" -C "RSA2 Authentication `hostname`" cat id_rsa.pub >>authorized_keys # DSA authentication - protocol version 2 dsa: id_dsa authorized_keys id_dsa id_dsa.pub: ssh-keygen -t dsa -f id_dsa -N "" -C "DSA2 Authentication `hostname`" cat id_dsa.pub >>authorized_keys authorized_keys: test -f authorized_keys || touch authorized_keys clean-rsa1: rm -f identity identity.pub clean-rsa: rm -f id_rsa id_rsa.pub clean-dsa: rm -f id_dsa id_dsa.pub clean: clean-rsa1 clean-rsa clean-dsa rm -f authorized_keys # For root on local host, # to allow root@anzac to do ssh to local host # without being asked for password allow-root-rsa: ssh root@anzac cat /home/root/.ssh/id_rsa.pub >> authorized_keys allow-root-dsa: ssh root@anzac cat /home/root/.ssh/id_dsa.pub >> authorized_keys