<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel rdf:about="http://blogmarks.net/api/marks/link/2380544">
<title>Public marks on http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/</title>
<description>Public marks on http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/</description>
<link>http://blogmarks.net/marks/link/2380544</link>
<items><rdf:Seq><rdf:li resource="http://blogmarks.net/api/user/lecyborg/mark/1057643863"/>
<rdf:li resource="http://blogmarks.net/api/user/w0arz/mark/1057422757"/>
<rdf:li resource="http://blogmarks.net/api/user/JMF/mark/1057370905"/>
</rdf:Seq></items>
</channel>
<item rdf:about="http://blogmarks.net/api/user/lecyborg/mark/1057643863">
<title>Make SSH connections with PHP</title>
<link>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/</link>
<description>Not everyone knows about PHP's capabilities of making SSH connections and executing remote commands, but it can be very useful. I've been using it a lot in PHP CLI applications that I run from cronjobs, but initially it was a pain to get it to work. The PHP manual on Secure Shell2 Functions is not very practice or thorough for that matter, so I would like to share my knowledge in this how to, to make it a little less time consuming setting this up.

In this article I'm going to assume that:

    * You're running Debian / Ubuntu
      If not, you will have to substitute the package manager aptitude with whatever your distribution provides
    * You're running PHP 5
      If not, just replace php5 with php4 everywhere
    * You have basic knowledge of PHP &amp; server administration
    * You already have PHP installed</description>
<dc:date>2008-01-07T09:38:26Z</dc:date>
<dc:author>lecyborg</dc:author>
<dc:subject>tutorial, utile, web developer, ubuntu, serveur, ssh, debian, php</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/"><img border="0" src="http://blogmarks.net/screenshots/2008/01/07/4cbc2229b8bb6b4ded41b4168becf13f.png" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/">Make SSH connections with PHP</a></h4>
 
by <a href="http://blogmarks.net/user/lecyborg">lecyborg</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/2380544">2 other(s)</a> 
<p class="description">Not everyone knows about PHP's capabilities of making SSH connections and executing remote commands, but it can be very useful. I've been using it a lot in PHP CLI applications that I run from cronjobs, but initially it was a pain to get it to work. The PHP manual on Secure Shell2 Functions is not very practice or thorough for that matter, so I would like to share my knowledge in this how to, to make it a little less time consuming setting this up.

In this article I'm going to assume that:

    * You're running Debian / Ubuntu
      If not, you will have to substitute the package manager aptitude with whatever your distribution provides
    * You're running PHP 5
      If not, just replace php5 with php4 everywhere
    * You have basic knowledge of PHP & server administration
    * You already have PHP installed</p>
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/tutorial">tutorial</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/utile">utile</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/web%2Bdeveloper">web developer</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/ubuntu">ubuntu</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/serveur">serveur</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/ssh">ssh</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/debian">debian</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=1057643863">Copy</a> | 
<a href="http://blogmarks.net/link/2380544">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> <item rdf:about="http://blogmarks.net/api/user/w0arz/mark/1057422757">
<title>TechBlog - How to: Make SSH connections with PHP</title>
<link>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/</link>
<description></description>
<dc:date>2007-08-30T14:28:20Z</dc:date>
<dc:author>w0arz</dc:author>
<dc:subject>php</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/"><img border="0" src="http://blogmarks.net/screenshots/2008/01/07/4cbc2229b8bb6b4ded41b4168becf13f.png" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/">TechBlog - How to: Make SSH connections with PHP</a></h4>
 
by <a href="http://blogmarks.net/user/w0arz">w0arz</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/2380544">2 other(s)</a> 
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=1057422757">Copy</a> | 
<a href="http://blogmarks.net/link/2380544">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> <item rdf:about="http://blogmarks.net/api/user/JMF/mark/1057370905">
<title>How to: Make SSH connections with PHP</title>
<link>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/</link>
<description></description>
<dc:date>2007-07-30T15:43:59Z</dc:date>
<dc:author>JMF</dc:author>
<dc:subject>php, ssh</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/"><img border="0" src="http://blogmarks.net/screenshots/2008/01/07/4cbc2229b8bb6b4ded41b4168becf13f.png" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/">How to: Make SSH connections with PHP</a></h4>
 
by <a href="http://blogmarks.net/user/JMF">JMF</a> 
 &amp; <a class="public" href="http://blogmarks.net/link/2380544">2 other(s)</a> 
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/ssh">ssh</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=1057370905">Copy</a> | 
<a href="http://blogmarks.net/link/2380544">React (0)</a></div>
</div>
</div>
]]></content:encoded>
</item> </rdf:RDF>