NetScreen
[Top] [All Lists]

Re: [nn] save config via ssh

To: Michael Tiede <Michael.Tiede@tipp24.de>, Netscreen Mailing List <nn@qorbit.net>
Subject: Re: [nn] save config via ssh
From: Stephen Gill <gillsr@cymru.com>
Date: Wed, 15 Nov 2006 08:26:28 -0700
Delivered-to: sp-com-lists@consult.net
Delivered-to: ns-list2@consult.net
Delivered-to: nn@qorbit.net
In-reply-to: <B27D13B97E372B41BA1CB9542E2FFBC8202991@majestix.t24de.tipp24.net>
List-archive: <http://www.qorbit.net/nn>
List-help: <mailto:nn-request@qorbit.net?subject=help>
List-id: "Netscreen mailing list for netscreen admins." <nn.qorbit.net>
List-post: <mailto:nn@qorbit.net>
List-subscribe: <http://qorbit.net/mailman/listinfo/nn>, <mailto:nn-request@qorbit.net?subject=subscribe>
List-unsubscribe: <http://qorbit.net/mailman/listinfo/nn>, <mailto:nn-request@qorbit.net?subject=unsubscribe>
Sender: nn-bounces@qorbit.net
Thread-index: AccIyhFn6d3TJKY/RGulJPykAWFnsgAAFnmo
Thread-topic: [nn] save config via ssh
User-agent: Microsoft-Entourage/11.2.5.060620
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

<Prev in Thread] Current Thread [Next in Thread>