<?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"
	>
<channel>
	<title>Comments on: Shell script within Stored Procedure</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/shell-script-within-stored-procedure/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/shell-script-within-stored-procedure/</link>
	<description></description>
	<pubDate>Fri, 27 Nov 2009 12:05:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Petkoa</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/shell-script-within-stored-procedure/#comment-62490</link>
		<dc:creator>Petkoa</dc:creator>
		<pubDate>Mon, 20 Apr 2009 23:07:21 +0000</pubDate>
		<guid isPermaLink="false">#comment-62490</guid>
		<description>&#62; 
&#62; The stored procedure itself will run on a Windows 2003 Server (SQL 2005).
&#62; The script should connect to a Solaris 10 (UNIX) box to execute some commands.
&#62; 

So, then the easiest way will be to write and put shell script on the UNIX box, then the stored procedure should just call rsh/ssh client and execute the script.

Sure, you should (1) install some windows port of rsh/ssh on win2003 system, and (2) make arrangements for the non-interactive login (e.g., non-password protected ssh private key on win2003 system, or some rhosts assignments on the solaris system - of course, the environment should be secure enough). My advice would be to go with ssh - not because of encryption and security, unattended login should create security hole anyway, but because of ease of setup: rsh is a protocol quite tricky for firewalls.

BR and good luck,

Petko</description>
		<content:encoded><![CDATA[<p>&gt;<br />
&gt; The stored procedure itself will run on a Windows 2003 Server (SQL 2005).<br />
&gt; The script should connect to a Solaris 10 (UNIX) box to execute some commands.<br />
&gt; </p>
<p>So, then the easiest way will be to write and put shell script on the UNIX box, then the stored procedure should just call rsh/ssh client and execute the script.</p>
<p>Sure, you should (1) install some windows port of rsh/ssh on win2003 system, and (2) make arrangements for the non-interactive login (e.g., non-password protected ssh private key on win2003 system, or some rhosts assignments on the solaris system - of course, the environment should be secure enough). My advice would be to go with ssh - not because of encryption and security, unattended login should create security hole anyway, but because of ease of setup: rsh is a protocol quite tricky for firewalls.</p>
<p>BR and good luck,</p>
<p>Petko</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VelameLaCosa</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/shell-script-within-stored-procedure/#comment-62348</link>
		<dc:creator>VelameLaCosa</dc:creator>
		<pubDate>Thu, 16 Apr 2009 17:32:47 +0000</pubDate>
		<guid isPermaLink="false">#comment-62348</guid>
		<description>The stored procedure itself will run on a Windows 2003 Server (SQL 2005).
The script should connect to a Solaris 10 (UNIX) box to execute some commands.</description>
		<content:encoded><![CDATA[<p>The stored procedure itself will run on a Windows 2003 Server (SQL 2005).<br />
The script should connect to a Solaris 10 (UNIX) box to execute some commands.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrdenny</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/shell-script-within-stored-procedure/#comment-62060</link>
		<dc:creator>mrdenny</dc:creator>
		<pubDate>Wed, 08 Apr 2009 20:41:56 +0000</pubDate>
		<guid isPermaLink="false">#comment-62060</guid>
		<description>As SQL Server only runs on Windows, are you trying to run a Unix script on Windows, or do you need to log into a Unix server then run the Unix script?</description>
		<content:encoded><![CDATA[<p>As SQL Server only runs on Windows, are you trying to run a Unix script on Windows, or do you need to log into a Unix server then run the Unix script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mshen</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/shell-script-within-stored-procedure/#comment-62006</link>
		<dc:creator>Mshen</dc:creator>
		<pubDate>Wed, 08 Apr 2009 02:10:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-62006</guid>
		<description>What version of Unix/Linux are you using or is it on a windows machine?</description>
		<content:encoded><![CDATA[<p>What version of Unix/Linux are you using or is it on a windows machine?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- dynamic -->