[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ssh-agent (Connecting to over multiple IPs w/o pass)



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.



--
thanks,
louie miranda




Reply to: