<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Zerd.Net &#187; SSH</title>
	<atom:link href="http://zerd.net/category/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://zerd.net</link>
	<description>Simple as that</description>
	<lastBuildDate>Sun, 01 Nov 2009 12:01:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Monitoring a server with GKrellM remotely over SSH</title>
		<link>http://zerd.net/2008/06/12/monitoring-a-server-with-gkrellm-remotely-over-ssh/</link>
		<comments>http://zerd.net/2008/06/12/monitoring-a-server-with-gkrellm-remotely-over-ssh/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 15:55:03 +0000</pubDate>
		<dc:creator>Zerd</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://zerd.net/2008/06/12/monitoring-a-server-with-gkrellm-remotely-over-ssh/</guid>
		<description><![CDATA[I would like to monitor my server on my desktop computer with the GKrellM-utility. I would also like to have it run over ssh, so that it can run over the internet without being open to everyone. So here&#8217;s what I did:

First step is to set up key-based passwordless login.
Install gkrellmd (gkrellm-server). As I use [...]]]></description>
			<content:encoded><![CDATA[<p>I would like to monitor my server on my desktop computer with the GKrellM-utility. I would also like to have it run over ssh, so that it can run over the internet without being open to everyone. So here&#8217;s what I did:</p>
<ul>
<li>First step is to set up key-based passwordless login.</li>
<li>Install gkrellmd (gkrellm-server). As I use debian I type &#8220;apt-get install gkrellmd&#8221;. Use your flavor of package-manager.</li>
<li> (optional) Edit /etc/gkrellmd.conf if there&#8217;s anything you&#8217;d like to change. The default works perfectly when using SSH-tunnels, because it looks like you&#8217;re running from localhost. If you don&#8217;t want to run over SSH you could add your desktop&#8217;s IP in allowed-host. Restart gkrellmd if you have changed the config.</li>
<li>Now open a SSH-tunnel on your desktop to your server. The text in red you should change to your wish, and the text in green is OK if you didn&#8217;t change anything in the config-file.</li>
<li>ssh -N -f -L <span style="color: #ff0000;">19150</span>:127.0.0.1:<span style="color: #0000ff;">19150</span> <span style="color: #ff0000;">user</span>@<span style="color: #ff0000;">server</span></li>
<li><span style="color: #ff0000;"><span style="color: #000000;">The red number is the local port which leads to your tunnel. If you want to monitor more than one computer you&#8217;ll need to change this number to an available port (check with netstat -nt). The red text is of course your user login on the server.</span></span></li>
<li><span style="color: #000000;"><span style="color: #000000;">run: </span></span></li>
<li><span style="color: #000000;">gkrellm -s 127.0.0.1</span> -P <span style="color: #ff0000;">19150</span></li>
<li><span style="color: #000000;">The red number should be the same as above. </span></li>
<li><span style="color: #000000;">GKrellM should pop up and do it&#8217;s thing <img src='http://zerd.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://zerd.net/2008/06/12/monitoring-a-server-with-gkrellm-remotely-over-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
