<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Automatic backup of Netscreen configuration</title>
	<atom:link href="http://davehope.co.uk/Blog/automate-backups-of-netscreen-configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://davehope.co.uk/Blog/automate-backups-of-netscreen-configuration/</link>
	<description>Open source projects, sysadmin stuff and the home of Product Key Finder</description>
	<lastBuildDate>Mon, 07 May 2012 08:11:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Mark</title>
		<link>http://davehope.co.uk/Blog/automate-backups-of-netscreen-configuration/#comment-100424</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 20 Jul 2011 14:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://davehope.co.uk/?p=500#comment-100424</guid>
		<description>Awesome work, thanks!</description>
		<content:encoded><![CDATA[<p>Awesome work, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://davehope.co.uk/Blog/automate-backups-of-netscreen-configuration/#comment-100381</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 20 Jul 2011 08:12:20 +0000</pubDate>
		<guid isPermaLink="false">http://davehope.co.uk/?p=500#comment-100381</guid>
		<description>Hi Mark

Are you able to SSH to it as opposed to telnet? If not, ssh may need to be reset:

delete ssh device all
set ssh version v2
set ssh enable
set scp enable</description>
		<content:encoded><![CDATA[<p>Hi Mark</p>
<p>Are you able to SSH to it as opposed to telnet? If not, ssh may need to be reset:</p>
<p>delete ssh device all<br />
set ssh version v2<br />
set ssh enable<br />
set scp enable</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://davehope.co.uk/Blog/automate-backups-of-netscreen-configuration/#comment-100255</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 19 Jul 2011 19:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://davehope.co.uk/?p=500#comment-100255</guid>
		<description>That worked thanks, but now this is an issue...
Disconnected: No supported authentication methods available (Server sent:)

When I telnet in and use the gt command all both scp and ssh are running...

Calgary_01-&gt; get scp
SCP is enabled
SCP is ready
Calgary_01-&gt; get ssh
SSH V2 is active
SSH is enabled
SSH is ready for connections
Maximum sessions: 6
Active sessions: 0

Also what is the minimum ios required for this script cause I notice it doesn&#039;t support sshv1?</description>
		<content:encoded><![CDATA[<p>That worked thanks, but now this is an issue&#8230;<br />
Disconnected: No supported authentication methods available (Server sent:)</p>
<p>When I telnet in and use the gt command all both scp and ssh are running&#8230;</p>
<p>Calgary_01-&gt; get scp<br />
SCP is enabled<br />
SCP is ready<br />
Calgary_01-&gt; get ssh<br />
SSH V2 is active<br />
SSH is enabled<br />
SSH is ready for connections<br />
Maximum sessions: 6<br />
Active sessions: 0</p>
<p>Also what is the minimum ios required for this script cause I notice it doesn&#8217;t support sshv1?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://davehope.co.uk/Blog/automate-backups-of-netscreen-configuration/#comment-99871</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 18 Jul 2011 20:01:02 +0000</pubDate>
		<guid isPermaLink="false">http://davehope.co.uk/?p=500#comment-99871</guid>
		<description>Hi Mark, Is SSHv2 and SCP enabled?

If you login with Putty first, you&#039;ll be prompted to accept the host key. Do that and then it&#039;ll work if everything is setup correctly on the device.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Mark, Is SSHv2 and SCP enabled?</p>
<p>If you login with Putty first, you&#8217;ll be prompted to accept the host key. Do that and then it&#8217;ll work if everything is setup correctly on the device.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://davehope.co.uk/Blog/automate-backups-of-netscreen-configuration/#comment-99830</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 18 Jul 2011 17:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://davehope.co.uk/?p=500#comment-99830</guid>
		<description>I run the script with one entry in the backuplist.txt but in the c:\backups it shows a folder with a date but that folder is empty? The username and password is correct.</description>
		<content:encoded><![CDATA[<p>I run the script with one entry in the backuplist.txt but in the c:\backups it shows a folder with a date but that folder is empty? The username and password is correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://davehope.co.uk/Blog/automate-backups-of-netscreen-configuration/#comment-95568</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 06 Jul 2011 07:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://davehope.co.uk/?p=500#comment-95568</guid>
		<description>Hi Peter,

You&#039;d generate the SSH keys on the system you&#039;re connecting from using ssh-keygen, see here for more information: http://pkeck.myweb.uga.edu/ssh/

Generate SSH keys without a passphrase and then import the public key onto each of your netscreens via the web UI, assigning it to your user (or the netscreen account if you use the default).

Then you can ssh/scp without a password.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>You&#8217;d generate the SSH keys on the system you&#8217;re connecting from using ssh-keygen, see here for more information: <a href="http://pkeck.myweb.uga.edu/ssh/" rel="nofollow">http://pkeck.myweb.uga.edu/ssh/</a></p>
<p>Generate SSH keys without a passphrase and then import the public key onto each of your netscreens via the web UI, assigning it to your user (or the netscreen account if you use the default).</p>
<p>Then you can ssh/scp without a password.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://davehope.co.uk/Blog/automate-backups-of-netscreen-configuration/#comment-95559</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 06 Jul 2011 07:00:50 +0000</pubDate>
		<guid isPermaLink="false">http://davehope.co.uk/?p=500#comment-95559</guid>
		<description>Hi Dave,
You&#039;ve been a fantastic help and I wanted to ask you how would you suggest to generate ssh keys on a netscreen? What I mean is in order to automate this I guess the login to the netscreen needs to be in the script and if so where? How would I do this, on the backup server and then copy keys to netscreen, if so where on the netscreen and how? Thanks for your help and patience, cheers</description>
		<content:encoded><![CDATA[<p>Hi Dave,<br />
You&#8217;ve been a fantastic help and I wanted to ask you how would you suggest to generate ssh keys on a netscreen? What I mean is in order to automate this I guess the login to the netscreen needs to be in the script and if so where? How would I do this, on the backup server and then copy keys to netscreen, if so where on the netscreen and how? Thanks for your help and patience, cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://davehope.co.uk/Blog/automate-backups-of-netscreen-configuration/#comment-93224</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 29 Jun 2011 17:11:11 +0000</pubDate>
		<guid isPermaLink="false">http://davehope.co.uk/?p=500#comment-93224</guid>
		<description>Hi Peter

Log in to the system you&#039;re running the backup script from (the scp command).  And add it to your crontab. To do that, once logged in via ssh to your Solaris system issue the command &#039;crontab -e&#039; to edit your users scheduled jobs.

Add the path to your shell script into there in the relevant format. For example:

0 5 * * 1 /bin/bash /home/peter/backupNS5.sh

Where &quot;/home/peter/backupNS5.sh&quot; is the path to the shell script you created to backup your devices.</description>
		<content:encoded><![CDATA[<p>Hi Peter</p>
<p>Log in to the system you&#8217;re running the backup script from (the scp command).  And add it to your crontab. To do that, once logged in via ssh to your Solaris system issue the command &#8216;crontab -e&#8217; to edit your users scheduled jobs.</p>
<p>Add the path to your shell script into there in the relevant format. For example:</p>
<p>0 5 * * 1 /bin/bash /home/peter/backupNS5.sh</p>
<p>Where &#8220;/home/peter/backupNS5.sh&#8221; is the path to the shell script you created to backup your devices.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://davehope.co.uk/Blog/automate-backups-of-netscreen-configuration/#comment-93223</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 29 Jun 2011 17:05:41 +0000</pubDate>
		<guid isPermaLink="false">http://davehope.co.uk/?p=500#comment-93223</guid>
		<description>Dave, 
Sounds good, but I guess you know what I&quot;m going to ask? 
So how do I add this to crontab -e

Any idea where to put this and in which lines etc,cheers for all your help so far</description>
		<content:encoded><![CDATA[<p>Dave,<br />
Sounds good, but I guess you know what I&#8221;m going to ask?<br />
So how do I add this to crontab -e</p>
<p>Any idea where to put this and in which lines etc,cheers for all your help so far</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://davehope.co.uk/Blog/automate-backups-of-netscreen-configuration/#comment-92695</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 27 Jun 2011 20:24:39 +0000</pubDate>
		<guid isPermaLink="false">http://davehope.co.uk/?p=500#comment-92695</guid>
		<description>Perhaps on the box you&#039;re running ssh from, add it to your crontab (crontab -e) ?</description>
		<content:encoded><![CDATA[<p>Perhaps on the box you&#8217;re running ssh from, add it to your crontab (crontab -e) ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

