don't ask for ssh key filename
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 16 May 2009 12:36:49 +0000 (12:36 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 16 May 2009 12:36:49 +0000 (12:36 +0000)
git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@71 191e9f34-6774-4a6d-acfc-7664dacd4a2a

recepies/ssh/login-without-password/1.generate-root-ssh-key

index 8e9ed45..10dffe6 100644 (file)
@@ -1,3 +1,3 @@
 
-root@opl:~# test -f /root/.ssh/id_rsa || ssh-keygen -N ''
+root@opl:~# test -f /root/.ssh/id_rsa || ssh-keygen -f /root/.ssh/id_rsa -N ''