NetScreen
[Top] [All Lists]

[nn] save config via ssh

To: <nn@qorbit.net>
Subject: [nn] save config via ssh
From: "Michael Tiede" <Michael.Tiede@tipp24.de>
Date: Wed, 15 Nov 2006 16:23:57 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: ns-list2@consult.net
Delivered-to: nn@qorbit.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/RGulJPykAWFnsg==
Thread-topic: 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

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