When you generated the key (id_rsa), you've been prompted for a
passphrase, in order to avoid anybody discovering the file to gain
access as you would.
Now, you need to type in the passphrase to 'unlock' the key each time
you wish to use it. But you don't need anymore to enter a password to
gain access to the remote host.
If you don't want to have to enter such a passphrase, just avoid
entering any passphrase when generating the key.
kochi wrote:
Hi,
I'm trying to ssh passwordless from a local to a remote machine (both
debian).
On the local machine I've generated
a key and copied it to the remote machine:
local#ssh-keygen -t rsa -b 2048
local#scp id_rsa.pub remote.machine:/blabla
On the remote machine I have added
the key to .ssh/authorized_keys:
remote#cat id_rsa.pub >> .ssh/authorized_keys
Now if I try to ssh the remote
machine I'm still asked to enter the passphrase ...
local# ssh remote.machine
Enter passphrase for key '/root/.ssh/id_rsa':
Have I missed something ?
Thanks in advance,
yours,
kochi
_______________________________________________
Lilux-help mailing list
Lilux-help@lilux.lu
http://lilux.lu/mailman/listinfo/lilux-help
--
Brent Frère
Private e-mail: Brent@BFrere.net
Postal address: 58, rue d'Esch
L-3720 Rumelange
Grand-Duchy of Luxembourg
European Union
Mobile: +352-021/29.05.98
Fax: +352-26.30.05.96
Home: +352-307.341
URL: http://BFrere.net
This e-mail signature can be checked if you have the CaCERT certificate installed.
Check http://www.CaCERT.org for details.