[j-nsp] remote ssh command to an EX series switch
Jérôme Fleury
jerome at fleury.net
Mon Sep 6 11:14:14 EDT 2010
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.Henry at 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 netadmin at 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 at 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 at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
More information about the juniper-nsp
mailing list