<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>CaZaTech &#187; SSH</title>
	<atom:link href="http://cazatech.wordpress.com/category/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://cazatech.wordpress.com</link>
	<description>My favourite hacks, about OS, gadgets and other tech stuff</description>
	<lastBuildDate>Fri, 01 May 2009 18:10:58 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='cazatech.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/e5c4fac45681188a3133f18419838c7c?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>CaZaTech &#187; SSH</title>
		<link>http://cazatech.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cazatech.wordpress.com/osd.xml" title="CaZaTech" />
		<item>
		<title>RSA2/DSA key access from PuTTY to a *NIX OpenSSH server</title>
		<link>http://cazatech.wordpress.com/2009/05/01/sshputty-2/</link>
		<comments>http://cazatech.wordpress.com/2009/05/01/sshputty-2/#comments</comments>
		<pubDate>Fri, 01 May 2009 12:18:17 +0000</pubDate>
		<dc:creator>cazatech</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://cazatech.wordpress.com/?p=68</guid>
		<description><![CDATA[If you want to access to your *NIX server using PuTTY in Windows, you just should follow the next steps to create a secure access using RSA/DSA public key infrastructure.
1) The first thing is configuring our openSSH server in the &#8220;/etc/ssh/sshd_config&#8221; file and modifying some configuration fields

Protocol 2
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile      %h/.ssh/authorized_keys

Reload the ssh daemon. /etc/init.d/ssh [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cazatech.wordpress.com&blog=1258290&post=68&subd=cazatech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you want to access to your *NIX server using PuTTY in Windows, you just should follow the next steps to create a secure access using RSA/DSA public key infrastructure.</p>
<p>1) The first thing is configuring our openSSH server in the &#8220;/etc/ssh/sshd_config&#8221; file and modifying some configuration fields</p>
<ul>
<li>Protocol 2</li>
<li>RSAAuthentication yes</li>
<li>PubkeyAuthentication yes</li>
<li>AuthorizedKeysFile      %h/.ssh/authorized_keys</li>
</ul>
<p>Reload the ssh daemon. /etc/init.d/ssh reload</p>
<p>2) Get the PuTTY Key Generator (Just typing it in google) and generate a RSA2/DSA public and private keys. Save them in a folder, and copy the text with Ctrl+C or in a file. This is your public key in openSSH format (The format which uses the ssh daemon)</p>
<p><img class="aligncenter" title="Putty Key gen" src="http://www.bearfruit.org/files/Putty-keygen.jpg" alt="" width="494" height="482" /></p>
<p>It would be a good idea protect our private key with a passphrase, at least, if we&#8217;ll use the remote access in a public place like an office. Maybe you must try PuTTY PageAgent to manage your keys, but this is another bussiness <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>3) Paste the text in your server in you &#8220;$home/.ssh/authorized_keys&#8221; of the user that you want to authenticate with RSA/DSA. (I suppose that &#8220;public_key&#8221; file contains the text generated by PuTTY)</p>
<ul>
<li>cat public_key &gt;&gt;$home/.ssh/authorized_keys</li>
</ul>
<p>4) Now, just open PuTTY and load your private key</p>
<p style="text-align:center;"><img class="aligncenter" src="http://unixwiz.net/images/putty-openssh-11.gif" alt="" width="456" height="442" /></p>
<p style="text-align:left;">5) Just login in the server as usual, and you should be logged in without typing your password. You must be type the keyphrase if you had set it in the  2nd step.</p>
<p style="text-align:left;">Regards, and be careful with your private key file <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_cool.gif' alt='8-)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cazatech.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cazatech.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cazatech.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cazatech.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cazatech.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cazatech.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cazatech.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cazatech.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cazatech.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cazatech.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cazatech.wordpress.com&blog=1258290&post=68&subd=cazatech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cazatech.wordpress.com/2009/05/01/sshputty-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e23d67b729a4d4ed2566eba58606ac05?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cazatech</media:title>
		</media:content>

		<media:content url="http://www.bearfruit.org/files/Putty-keygen.jpg" medium="image">
			<media:title type="html">Putty Key gen</media:title>
		</media:content>

		<media:content url="http://unixwiz.net/images/putty-openssh-11.gif" medium="image" />
	</item>
		<item>
		<title>Setting up a SSH tunnel</title>
		<link>http://cazatech.wordpress.com/2007/07/22/setting-up-a-ssh-tunnel/</link>
		<comments>http://cazatech.wordpress.com/2007/07/22/setting-up-a-ssh-tunnel/#comments</comments>
		<pubDate>Sun, 22 Jul 2007 11:17:30 +0000</pubDate>
		<dc:creator>cazatech</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://cazatech.wordpress.com/2007/07/22/setting-up-a-ssh-tunnel/</guid>
		<description><![CDATA[Hi again!
If we need a through our LAN to use, for example, a protocol which it&#8217;s locked by a BOFH   or send some personal data through a insecure protocol, we would use a SSH Tunnel using a SSH client like PuTTy (On win32) or openSSH (*NIX systems).
Ok, We&#8217;re in a LAN which 80 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cazatech.wordpress.com&blog=1258290&post=28&subd=cazatech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hi again!</p>
<p>If we need a through our LAN to use, for example, a protocol which it&#8217;s locked by a BOFH <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  or send some personal data through a insecure protocol, we would use a SSH Tunnel using a SSH client like <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTy </a>(On win32) or <a href="http://www.openssh.com/" target="_blank">openSSH </a>(*NIX systems).</p>
<p>Ok, We&#8217;re in a LAN which 80 port it&#8217;s closed and that really sucks!. We&#8217;ve the IP of a server without restriction over the 80 port. Then, we&#8217;re going to do a tunnel with this server and send the 80 port data encrypted through the SSH port (I suppose this port is open! [Default port 22]).</p>
<p>We must open PuTTy and go to this screen</p>
<p align="center"><img src="http://farm2.static.flickr.com/1398/869532648_27725defff.jpg?v=0" height="435" width="456" /></p>
<p align="center"> After this, we must connect to the server</p>
<p align="center"><img src="http://farm2.static.flickr.com/1068/869533812_defde94a81.jpg?v=0" height="435" width="456" /></p>
<p align="center">When we&#8217;re connected to the server, we must login in and the tunnel has been stablished <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p align="left">Ok, now we need to say to the internet browser that it needs to connect through the Tunnel, to this, open your favourite browser (Firefox 4ever ;&#8217;) ) and open the connection settings. A window like this will be opened.</p>
<p align="center"><img src="http://farm2.static.flickr.com/1202/869608960_2eb08efd28.jpg?v=0" height="440" width="414" /></p>
<p align="left"> If you&#8217;ve made all the steps, your SSH Tunnel are running now <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cazatech.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cazatech.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cazatech.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cazatech.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cazatech.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cazatech.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cazatech.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cazatech.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cazatech.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cazatech.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cazatech.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cazatech.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cazatech.wordpress.com&blog=1258290&post=28&subd=cazatech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cazatech.wordpress.com/2007/07/22/setting-up-a-ssh-tunnel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e23d67b729a4d4ed2566eba58606ac05?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cazatech</media:title>
		</media:content>

		<media:content url="http://farm2.static.flickr.com/1398/869532648_27725defff.jpg?v=0" medium="image" />

		<media:content url="http://farm2.static.flickr.com/1068/869533812_defde94a81.jpg?v=0" medium="image" />

		<media:content url="http://farm2.static.flickr.com/1202/869608960_2eb08efd28.jpg?v=0" medium="image" />
	</item>
	</channel>
</rss>