<?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>John Roach &#187; php ssh connection</title>
	<atom:link href="http://johnroach.info/tag/php-ssh-connection/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnroach.info</link>
	<description>Coding for life</description>
	<lastBuildDate>Wed, 25 Apr 2012 07:48:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Knowing when to fold ( i.e. SSH is better than Telnet )</title>
		<link>http://johnroach.info/2009/10/28/knowing-when-to-fold-i-e-ssh-is-better-than-telnet/</link>
		<comments>http://johnroach.info/2009/10/28/knowing-when-to-fold-i-e-ssh-is-better-than-telnet/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 16:08:45 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[ip home automation project]]></category>
		<category><![CDATA[embedded device]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php ssh connection]]></category>
		<category><![CDATA[php telnet connection]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[telnet]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=93</guid>
		<description><![CDATA[You have probably seen my  previous post on connecting to Telnet through PHP although it was a novel idea I have just learned that (from a Novell site. No pun intended.) Telnet is very insecure!! To make things clearer Telnet &#8230; <a href="http://johnroach.info/2009/10/28/knowing-when-to-fold-i-e-ssh-is-better-than-telnet/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You have probably seen my  previous post on connecting to Telnet through PHP although it was a novel idea I have just learned that (from a Novell site. No pun intended.) Telnet is very insecure!! To make things clearer Telnet usually creates connections as below;</p>
<p style="text-align: center;"><a href="http://johnroach.info/wp-content/uploads/2009/10/Telnet-Client-server-unencrypted.png"><img class="aligncenter size-full wp-image-111" title="Telnet-Client-server-unencrypted" src="http://johnroach.info/wp-content/uploads/2009/10/Telnet-Client-server-unencrypted.png" alt="Telnet-Client-server-unencrypted" width="305" height="209" /></a></p>
<p style="text-align: left;">Up here you can see a hacker can sniff the client-server connection and actually steal the user name and password sent by client. This really won&#8217;t do since if someone can spoof/hack/attack our embedded system which we will be adding to home appliances things may go awry. i.e. you will start seeing automated vacuum cleaners attacking your cat. ( Statistics show that H4X0Rz hate cats. )</p>
<p style="text-align: left;">Hence we can clearly see we need another way for the server and client to talk to each other. After some short Googling I am thinking of using SSH which is native to Linux/Unix based systems. Where the connection will be as below ;</p>
<p style="text-align: left;"><a href="http://johnroach.info/wp-content/uploads/2009/10/SSH-client-server-encrypted.png"><img class="aligncenter size-full wp-image-112" title="SSH-client-server-encrypted" src="http://johnroach.info/wp-content/uploads/2009/10/SSH-client-server-encrypted.png" alt="SSH-client-server-encrypted" width="305" height="209" /></a>As you can see the SSH encryption creates a safer environment for the client and the server plus any DNS attacks and eavesdropping is clearly impossible. (if not probable.)</p>
<p style="text-align: left;">Henceforth a new PHP and Python (this time I will write the server+client in Python) shall be written. Please expect updates.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2009/10/28/knowing-when-to-fold-i-e-ssh-is-better-than-telnet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

