From owner-freebsd-questions Fri Apr 9 16:44:20 1999 Delivered-To: freebsd-questions@freebsd.org Received: from k12-nis-2.bbn.com (K12-NIS-2.BBN.COM [128.89.6.195]) by hub.freebsd.org (Postfix) with ESMTP id 25A5815304 for ; Fri, 9 Apr 1999 16:44:16 -0700 (PDT) (envelope-from dm@k12-nis-2.bbn.com) Received: from k12-nis-2.bbn.com (dm@LOCALHOST.BBN.COM [127.0.0.1]) by k12-nis-2.bbn.com (8.9.0/8.9.0) with ESMTP id TAA11783; Fri, 9 Apr 1999 19:41:05 -0400 (EDT) Message-Id: <199904092341.TAA11783@k12-nis-2.bbn.com> To: cjclark@home.com Cc: lowell@world.std.com (Lowell Gilbert), freebsd-questions@freebsd.org Subject: Re: Using ssh on Multiple Machines In-reply-to: Your message of "Fri, 09 Apr 1999 12:15:52 EDT." <199904091615.MAA08195@cc942873-a.ewndsr1.nj.home.com> Date: Fri, 09 Apr 1999 19:41:04 -0400 From: david mankins Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: "Crist J. Clark" Subject: Re: Using ssh on Multiple Machines So, I have taken the 'identity.pub' file, put it on a floppy (or whatever), and then just do something like 'cat identity.pub > .ssh/authorized_keys' on a separate machine. Now, above it says, 'after this, the user can log in without giving the password,' but each time I invoke ssh between these machines I have to enter my passphrase. Why that happens (and whether it should happene at all) is not clear to me from the manpage. Since that is a heck of a lot more work to enter a passprhase than the remote user's password (or more often I make a typo in the passphrase), I often use the password for the user instead. Is there a difference? Why would I chose one over the other? Those are the kinds of things I have trouble with in the ssh manpages. What you do is run ssh-agent: ssh-agent /bin/sh % # (now you're talking to a shell that is a child of the % # ssh-agent, and has a way to talk to it in its % # environment. To this shell you say: ) % ssh-add ssh-add prompts for your passphrase. After that, any ssh-related command you run from that shell gets its authentication information from that ssh-agent. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message