On Tue, Sep 24, 2002 at 07:28:18PM +0800, louie miranda wrote: > Im currently studying how to connect to other multiple IPs with out password > authentication > using ssh-agent. I have success in doing 1 ip over to other hosts. > > using this commands.. > > myhost> ssh-keygen -t dsa > myhost> scp ~/.ssh/id_dsa.pub 203.190.77.145:.ssh/authorized_keys2 > myhost> ssh-agent sh -c 'ssh-add ~/.ssh/id_dsa < /dev/null && bash' > myhost> ssh otherhost > otherhost> > > Now my problem is i want to connect to other IP leaving my old ssh-keys > intact with my new one. > In short connecting to two or more hosts in "myhost" my IP to other IP. > > I' have edited my new key pair and server and add it over id_dsa, but it > didnt work. > Im planning to try vice versa connection over the "otherhost", but i want to > solve this > mystery first before moving on.
You can add more than 1 public key on the authorized_keys2 file. J -- Jesus Climent | Unix System Admin | Helsinki, Finland. web: www.hispalinux.es/~data/ | pumuki.hispalinux.es ------------------------------------------------------ Please, encrypt mail sent to me: GnuPG ID: 86946D69 FP: BB64 2339 1CAA 7064 E429 7E18 66FC 1D7F 8694 6D69 ------------------------------------------------------ Registered Linux user #66350 Debian 3.0 & Linux 2.4.20 A minute ago this was the safest job in the world. Now it's turning into a bad day in Bosnia. --Soap (Lock, Stock and Two Smoking Barrels)
msg03316/pgp00000.pgp
Description: PGP signature