<?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>Mystalia Studios &#187; ssh</title>
	<atom:link href="http://www.mystalia.net/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mystalia.net</link>
	<description>Coding Studio</description>
	<lastBuildDate>Fri, 19 Mar 2010 01:22:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Free and Easy SSH in c#</title>
		<link>http://www.mystalia.net/2008/05/free-and-easy-ssh-in-c/</link>
		<comments>http://www.mystalia.net/2008/05/free-and-easy-ssh-in-c/#comments</comments>
		<pubDate>Sat, 31 May 2008 09:39:26 +0000</pubDate>
		<dc:creator>Mystalia</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.mystalia.net/?p=13</guid>
		<description><![CDATA[If you&#8217;re looking for an easy way to communicate through ssh without paying rediculous prices for components, then read on. Behold: SharpSSH (Download). It is a free communications component that is great for ssh. Add the binary dll&#8217;s as a reference to your project. The usage is surprisingly simple. Tamir.SharpSsh.SshStream ssh = new Tamir.SharpSsh.SshStream(serverip, username, [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re looking for an easy way to communicate through ssh without paying rediculous prices for components, then read on.</p>
<p>Behold: SharpSSH (<a href="http://sourceforge.net/project/showfiles.php?group_id=190927" target="_blank">Download</a>). It is a free communications component that is great for ssh.</p>
<p>Add the binary dll&#8217;s as a reference to your project.<br />
The usage is surprisingly simple.</p>
<p>Tamir.SharpSsh.<span style="color: #00ccff;">SshStream</span> ssh = new Tamir.SharpSsh.<span style="color: #00ffff;">SshStream</span>(serverip, username, password);</p>
<p>The server ip does not need a port, it uses standard port 22.</p>
<p><span style="color: #0000ff;">string</span> command = <span style="color: #ff0000;">&#8220;killall -u username&#8221;</span>; <span style="color: #339966;">// could be any command</span><br />
ssh.Write(command);<br />
ssh.ReadResponse();</p>
<p>and when you are done&#8230;</p>
<p>ssh.Close();</p>
<p>To overcome issues with root password prompting you must set the server so that a username does not require a password.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mystalia.net/2008/05/free-and-easy-ssh-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
