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

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



Yup, but thats not my problem.
Imagine this..


            2
           /
1 ------
           \
            3

#1 will connect to #2 and #3 w/o passwords.
I've addedd the 2 public keys over id_dsa.pub and id_dsa.
and re-add ssh-agent over it.

But nothing happens!



--
thanks,
louie miranda
chikka asia, inc.
noc +63-2(7535000-511)

----- Original Message -----
From: "Jesus Climent" <jesus.climent@hispalinux.es>
To: <debian-user@lists.debian.org>
Sent: Tuesday, September 24, 2002 7:32 PM
Subject: Re: ssh-agent (Connecting to over multiple IPs w/o pass)

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)




Reply to: