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

Reply via email to