If you run ssh-keygen -t rsa1 that's right (copy identity.pub--default file name--to authorized_keys) but if you've run ssh-keygen -t dsa (it's a good idea to have all three keys, also -t rsa), then you might want to copy id_dsa.pub (default file name) to authorized_keys2. This only works without a password if there's no passphrase. Ron Dave Cross wrote: > > On Sun, Mar 28, 2004 at 11:46:40AM +0100, Steve Searle wrote: > > Many moons ago I set up my (then RH) Linux box to pass the current > > password automatically when SSHing to another box. If I was logged on > > as steve, and I did "ssh myserver" it would take me straight to a shell > > on myserver, logged on as steve, assuming the steve account on myserver > > had the same password as the box I was coming from. I was not asked for > > the password. > > > > Does anyone know what I need to change to change my current setup to > > work like this. > > 1/ Use ssh-keygen to generate an ssh key. > 2/ Copy the public part of the new key to the remote box > (it goes in ~/.ssh/authorized_keys) > > At this stage you'll be prompted for the key's passphrase rather than > the user's password when connecting to the remote box. To get rid of > that, you'll need to be running ssh-agent. > > 3/ Run "ssh-agent $SHELL" from the command line > 4/ Run "ssh-add" from the command line - this will prompt you for > the key's passphrase > > Now you shouldn't be prompted for the passphrase when you try to connect > to any box that has your key installed. > > See the docs at <http://openssh.org/manual.html> for more details. > > Dave... > > -- > New .sigs > Running in please parse > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list -- Global System Services Corporation (GSS) 650 Castro Street, Suite 120, Number 268, Mountain View, CA 94041, USA +1 (650) 965-8669 phone, +1 (650) 965-8679 fax, +1 (650) 283-5241 mobile rherardi@xxxxxxxxxx, http://www.gssnet.com "The best way to predict your future is to create it." - Stephen Covey
begin:vcard n:Herardian;Ron tel;pager:1 (877) 315-2878, 1 (601) 969-6840 PIN 8773152878 tel;cell:1 (650) 283-5241 tel;fax:1 (650) 965-8679 tel;home:6502835241@xxxxxxxxxxx 2-way e-mail to SMS/mobile phone tel;work:1 (650) 965-8669 x-mozilla-html:FALSE url:http://www.gssnet.com org:Global System Services Corporation (GSS);Messaging, Directory Services, Groupware, Wireless version:2.1 email;internet:rherardi@xxxxxxxxxx title:<IMG SRC="http://www.gssnet.com/images/logo_globe.gif" ALIGN=LEFT><BR><B>Chief Systems Architect</B> adr;quoted-printable:;;650 Castro Street=0D=0ASuite 120, Number 268;Mountain View;California;94041;U.S.A. note;quoted-printable:Netscape/iPlanet/Sun ONE Solution Expert=0D=0AMicrosoft Certified Professional (MCP)=0D=0ACertified Lotus Professional (CLP)=0D=0ACertified Enterprise Messaging Consultant=0D=0AMember, Project Management Institute (PMI)=0D=0ASenior Technical Editor, DominoPower Magazine (http://www.dominopower.com)=0D=0A=0D=0AAIM ID: gssnet=0D=0AYahoo IM ID: rherardi=0D=0AAlternate E-mail: mihran@xxxxxxxxxxxxxxxxxx=0D=0AAlternate E-mail: rherardi@xxxxxxxxxxxxx=0D=0AAlternate E-mail: 8773152878@xxxxxxxxxx (2-way e-mail to pager)=0D=0AAlternate E-mail: 6502835241@xxxxxxxxxxx (2-way e-mail to SMS/mobile phone)=0D=0A fn:Ron Herardian end:vcard
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature