Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- dsa auth to multiple remote hosts
- Lincoln DeCoursey
September 19, 2004, 3:28 am
rate this thread
I understand that having an RSA or DSA private key that is paired with
a public key on the remote host can accomplish authentication. I am using
However, there seems to be room for only one id_dsa file in my local .ssh
directory, and concatenating multiple keys to this file does not seem to
accomplish what I want.
Currently, I have to maintain multiple id_dsa_thissite and id_rsa_thatsite
files, and manually copy one of them to id_dsa in order to accomplish
authentication with that remote site.
Is there some way, with OpenSSH, that I can have multiple private keys for
multiple remote sites, and still use automatic keypair-based authentication?
I already understand that it would be possible to use the same keypair for
all of the sites, but this is not my interest.
Re: dsa auth to multiple remote hosts
email@example.com (Lincoln DeCoursey) writes:
ssh -i ~/.ssh/id_dsa_thissite
Or, even easier, create a file ~/.ssh/config . You can use the
system file (maybe "/etc/ssh/ssh_config") as an example of what can
go there. You can have a separate section
to automate the settings for a particular host.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (SunOS)
-----END PGP SIGNATURE-----
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum