Use the scp command from your client to copy the file down directly from the
netscreen device (vcp might work from secureCRT in windows).
-- steve
> From: Michael Tiede <Michael.Tiede@tipp24.de>
> Date: Wed, 15 Nov 2006 16:23:57 +0100
> To: <nn@qorbit.net>
> Conversation: save config via ssh
> Subject: [nn] save config via ssh
>
> Hi!
> I'm trying to save the configurations of our Netscreen devices via ssh
> (with public key auth) with the following commands:
>
> ssh <user>@<device> "get config > tftp 10.1.1.1 dummy-cfg.txt"
>
> or
>
> ssh <user>@<device> "save config from flash to tftp 10.1.1.1
> dummy-cfg.txt"
>
> in the event log I get for both variations:
> 2006-11-15 16:00:50 system warn 00528 SCP: Admin '<SNIP>' at host
> 10.1.10.42
> executed invalid scp command:
> 'save
> config from flash to tftp
> 10.1.1.1
> dummy-cfg.txt'.
>
> In an interactive ssh session both commands work without any problems.
> As always the Juniper KB doesn't give any hint on how to solve this.
>
> Has anyone a working solution for saving the actual configuration?
>
> Cheers,
> Michael
>
> --
> Michael Tiede
> Systemadministration Live-Systeme
>
> _______________________________________________
> nn mailing list
> nn@qorbit.net
> http://qorbit.net/mailman/listinfo/nn
_______________________________________________
nn mailing list
nn@qorbit.net
http://qorbit.net/mailman/listinfo/nn
|