Am 11.7.08 um 19:59 schrieb ntongoy:
> Do I have to include the 'j' in "ssh -i ~/.ssh/id_dsa
> j<username>
<host>" ?
>
Aah - no, my bad (incomplete edit/copy/paste operation).
just replace <username> with the remote username and <host> with the
host address.
Essentially, this is a regular ssh command with the additional "-i
~/.ssh/id_dsa" option.
</jum>
>
>
> --- In cvsgui%40yahoogroups.com">cvsgui
yahoogroups.com, Jens Miltner <jum
...> wrote:
> >
> >
> > Am 11.7.08 um 17:06 schrieb ntongoy:
> >
> > > I ran into an error installing the SSHKeyChain. It says:
> > > The following install step failed: run postinstall script for
> > > SSHKeyChain...
> > >
> > > I am a mac newbie. What do you think should I do with this error?
> > >
> > If you're running Leopard, forget about any 3rd party ssh-agent
> > utilities like SSHKeyChain - you won't need them.
> >
> > Instead, create an ssh key using
> > ssh-keygen -d
> > from the commandline prompt (i.e. in Terminal).
> > This will prompt you for a location to save (it suggests ~/.ssh/
> id_dsa
> > as the default location, which is perfectly fine and I assume you're
> > using this for now).
> > It will also prompt you for a passphrase to protect your key.
> >
> > Once it's finished, you'll have a private (id_dsa) and a public
> > (id_dsa.pub) key file in the location you specified (~/.ssh by
> default).
> > Next, you need to transfer the public keyfile to the remote machine
> > (DON'T TRANSFER YOUR PRIVATE KEY FILE), e.g. using
> >
> > cat .ssh/id_dsa.pub | ssh <username>
<host> 'cat - >> .ssh/
> > authorized_keys'
> >
> > Verify that your keyfile is on the remote machine and recognized by
> > ssh'ing into the remote machine. You should now be prompted for your
> > passphrase if you chose to provide one when creating the key.
> >
> > If this works, the next step will be to stuff the passphrase in you
> > keychain using the command I mentioned before:
> >
> > ssh -i ~/.ssh/id_dsa j<username>
<host>
> >
> > Once done, verify that you can now ssh into the remote host without
> > having to enter your passphrase.
> > Once this works, you're fine to use ssh access from MacCvsX.
> >
> > HTH,
> > </jum>
> > >
> > >
.