<?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: Run Remote Commands with SSH</title>
	<atom:link href="http://bashcurescancer.com/run_remote_commands_with_ssh.html/feed" rel="self" type="application/rss+xml" />
	<link>http://bashcurescancer.com/run_remote_commands_with_ssh.html</link>
	<description>Learn the UNIX/Linux command line</description>
	<lastBuildDate>Tue, 16 Mar 2010 15:21:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Brock Noland</title>
		<link>http://bashcurescancer.com/run_remote_commands_with_ssh.html/comment-page-1#comment-34355</link>
		<dc:creator>Brock Noland</dc:creator>
		<pubDate>Thu, 10 Dec 2009 00:00:29 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/run_remote_commands_with_ssh.html#comment-34355</guid>
		<description>pgrep is not available everywhere, but yes you can use pgrep if available...  The purpose of this article was ssh, not process listings.

Please see my article which covers &lt;a href=&quot;http://bashcurescancer.com/10-linux-commands-youve-never-used.html&quot; rel=&quot;nofollow&quot;&gt;pgrep&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>pgrep is not available everywhere, but yes you can use pgrep if available&#8230;  The purpose of this article was ssh, not process listings.</p>
<p>Please see my article which covers <a href="http://bashcurescancer.com/10-linux-commands-youve-never-used.html" rel="nofollow">pgrep</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://bashcurescancer.com/run_remote_commands_with_ssh.html/comment-page-1#comment-34346</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 09 Dec 2009 16:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/run_remote_commands_with_ssh.html#comment-34346</guid>
		<description>How about replacing 

ssh root@www &#039;ps -ef &#124; grep apache &#124; grep -v grep &#124; wc -l&#039;

with pgrep -c apache</description>
		<content:encoded><![CDATA[<p>How about replacing </p>
<p>ssh root@www &#8216;ps -ef | grep apache | grep -v grep | wc -l&#8217;</p>
<p>with pgrep -c apache</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brock Noland</title>
		<link>http://bashcurescancer.com/run_remote_commands_with_ssh.html/comment-page-1#comment-33970</link>
		<dc:creator>Brock Noland</dc:creator>
		<pubDate>Mon, 30 Nov 2009 17:17:31 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/run_remote_commands_with_ssh.html#comment-33970</guid>
		<description>vikrant,

Are you provided ANY access to the server?  If so, what?  If not, this is not possible.</description>
		<content:encoded><![CDATA[<p>vikrant,</p>
<p>Are you provided ANY access to the server?  If so, what?  If not, this is not possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikrant</title>
		<link>http://bashcurescancer.com/run_remote_commands_with_ssh.html/comment-page-1#comment-33968</link>
		<dc:creator>vikrant</dc:creator>
		<pubDate>Mon, 30 Nov 2009 17:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/run_remote_commands_with_ssh.html#comment-33968</guid>
		<description>Hi,
I need to execute a shell script on a remote machine. Without using ssh -  how do i do it?
the admin does not provide me ssh access. Is this possible?

Please provide any valuable support.

Thanks is advance.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I need to execute a shell script on a remote machine. Without using ssh &#8211;  how do i do it?<br />
the admin does not provide me ssh access. Is this possible?</p>
<p>Please provide any valuable support.</p>
<p>Thanks is advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brock Noland</title>
		<link>http://bashcurescancer.com/run_remote_commands_with_ssh.html/comment-page-1#comment-33360</link>
		<dc:creator>Brock Noland</dc:creator>
		<pubDate>Mon, 09 Nov 2009 06:41:21 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/run_remote_commands_with_ssh.html#comment-33360</guid>
		<description>Ian,

When you login, your profile and rc scripts are called.  You can call them in your script, to setup your environment.  Or better yet, remove any dependencies on the environment being setup.</description>
		<content:encoded><![CDATA[<p>Ian,</p>
<p>When you login, your profile and rc scripts are called.  You can call them in your script, to setup your environment.  Or better yet, remove any dependencies on the environment being setup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Vaughan</title>
		<link>http://bashcurescancer.com/run_remote_commands_with_ssh.html/comment-page-1#comment-32787</link>
		<dc:creator>Ian Vaughan</dc:creator>
		<pubDate>Thu, 24 Sep 2009 14:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/run_remote_commands_with_ssh.html#comment-32787</guid>
		<description>SSH with and without command gives different results? env is different?

[a ~]$ ssh 172.24.40.100
Last login: Mon Jan  1 06:07:24 2001 from 172.24.41.78
[b ~]# /path/script.sh
# works as expected

[a ~]$ ssh 172.24.40.100 /path/script.sh
# gives me error consistent with env setup

Which implies the latter is running the script.sh on host a, when I want to &#039;launch&#039; in from a, and &#039;run&#039; it on b!?</description>
		<content:encoded><![CDATA[<p>SSH with and without command gives different results? env is different?</p>
<p>[a ~]$ ssh 172.24.40.100<br />
Last login: Mon Jan  1 06:07:24 2001 from 172.24.41.78<br />
[b ~]# /path/script.sh<br />
# works as expected</p>
<p>[a ~]$ ssh 172.24.40.100 /path/script.sh<br />
# gives me error consistent with env setup</p>
<p>Which implies the latter is running the script.sh on host a, when I want to &#8216;launch&#8217; in from a, and &#8216;run&#8217; it on b!?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Verma</title>
		<link>http://bashcurescancer.com/run_remote_commands_with_ssh.html/comment-page-1#comment-32029</link>
		<dc:creator>Amit Verma</dc:creator>
		<pubDate>Wed, 12 Aug 2009 09:25:59 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/run_remote_commands_with_ssh.html#comment-32029</guid>
		<description>Hello Manoj,

To stop some user to execute any command on a server (using SSH) you simply need to disable the sshd (ssh daemon) so that server. This way neither your server would be listening those remote SSH requests nor it would be processing them.

Simple!

--
Amit Verma</description>
		<content:encoded><![CDATA[<p>Hello Manoj,</p>
<p>To stop some user to execute any command on a server (using SSH) you simply need to disable the sshd (ssh daemon) so that server. This way neither your server would be listening those remote SSH requests nor it would be processing them.</p>
<p>Simple!</p>
<p>&#8211;<br />
Amit Verma</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: giro</title>
		<link>http://bashcurescancer.com/run_remote_commands_with_ssh.html/comment-page-1#comment-31544</link>
		<dc:creator>giro</dc:creator>
		<pubDate>Thu, 09 Jul 2009 08:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/run_remote_commands_with_ssh.html#comment-31544</guid>
		<description>How may I set or use a set JAVA_HOME environment ?</description>
		<content:encoded><![CDATA[<p>How may I set or use a set JAVA_HOME environment ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Execute shell script in different system - Shell Programming and Scripting - The UNIX and Linux Forums</title>
		<link>http://bashcurescancer.com/run_remote_commands_with_ssh.html/comment-page-1#comment-30426</link>
		<dc:creator>Execute shell script in different system - Shell Programming and Scripting - The UNIX and Linux Forums</dc:creator>
		<pubDate>Sat, 09 May 2009 22:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/run_remote_commands_with_ssh.html#comment-30426</guid>
		<description>[...] if it is a secure system then consider using SSH, take a look at: Run Remote Commands with SSH (to run commands remotely) and Setup the SSH server to use keys for authentication (to achieve [...]</description>
		<content:encoded><![CDATA[<p>[...] if it is a secure system then consider using SSH, take a look at: Run Remote Commands with SSH (to run commands remotely) and Setup the SSH server to use keys for authentication (to achieve [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neidisch</title>
		<link>http://bashcurescancer.com/run_remote_commands_with_ssh.html/comment-page-1#comment-29604</link>
		<dc:creator>neidisch</dc:creator>
		<pubDate>Thu, 26 Mar 2009 16:51:33 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/run_remote_commands_with_ssh.html#comment-29604</guid>
		<description>I would like to make a remote installation via ssh, for instance:

neidisch@server1# ssh root@server2 /tmp/mysoftware/install

it actually would work fine. except for the license that I have to agree: it&#039;s displayed with &quot;more&quot; and can&#039;t break it.

if I use &quot;ssh -n&quot; it would work, but then I wouldn&#039;t be able to pass my configuration values.

can anyone help me?</description>
		<content:encoded><![CDATA[<p>I would like to make a remote installation via ssh, for instance:</p>
<p>neidisch@server1# ssh root@server2 /tmp/mysoftware/install</p>
<p>it actually would work fine. except for the license that I have to agree: it&#8217;s displayed with &#8220;more&#8221; and can&#8217;t break it.</p>
<p>if I use &#8220;ssh -n&#8221; it would work, but then I wouldn&#8217;t be able to pass my configuration values.</p>
<p>can anyone help me?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.235 seconds -->
