Hi Laurent,

and what is the issue exactly ?

You don't strictly need a ssh key on the switch for it to work.

Also please note that this command can take a long time to achieve if
your resolver on the switch does not work. The switch tries to resolve
each IP address on the list.

Regards,

Jerome.

On Mon, Sep 6, 2010 at 16:04, Laurent HENRY <laurent.he...@ehess.fr> wrote:
> Hello all,
>
>     I am willing to obtain the output of a simple command (show arp) remotely
> from my linux host to a EX switch.
>
> i can use
> %ssh netad...@router1 'show arp'  from my desktop
> Obviously, i need to deal with ssh public keys.
>
> I tried this to from switch to desktop too
> %echo "show arp" | /usr/sbin/cli > j.txt; scp j.txt
> x...@192.168.0.152:/home/x/j.txt
> with a similar issue.
>
> Is someone know a good doc pointer helping me how to configure ssh keys to
> launch remote command from or to an EX ?
>
> Tank you
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>

_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to