<?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>Catch Sha If You Can &#187; Oracle</title>
	<atom:link href="http://www.catchsha.com/tag/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.catchsha.com</link>
	<description>沙沙胡思乱想的地方</description>
	<lastBuildDate>Tue, 07 Dec 2010 03:22:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to setup SSH on Windows XP</title>
		<link>http://www.catchsha.com/how-to-setup-ssh-on-windows-xp/</link>
		<comments>http://www.catchsha.com/how-to-setup-ssh-on-windows-xp/#comments</comments>
		<pubDate>Sat, 07 Oct 2006 16:32:21 +0000</pubDate>
		<dc:creator>catchsha</dc:creator>
				<category><![CDATA[工作]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[private key]]></category>
		<category><![CDATA[Public Key]]></category>

		<guid isPermaLink="false">http://www.catchsha.com/2006/10/07/how-to-setup-ssh-on-windows-xp/</guid>
		<description><![CDATA[So easy so cool, that i can view mysql easily&#8230;  After reformatting my computer, I had to reinstall PuTTY, only to find that the page I needed was down. It’s still available via Google’s cache but since I’m doing it again, I thought I would write an easier guide on how to do it. Please]]></description>
			<content:encoded><![CDATA[<p>So easy so cool, that i can view mysql easily&#8230; </p>
<p>After reformatting my computer, I had to reinstall PuTTY, only to find that the page I needed was down. It’s still available via Google’s cache but since I’m doing it again, I thought I would write an easier guide on how to do it.</p>
<p>Please keep in mind that this the solution that worked for me using Dreamhost; I am not an expert on this so if you have trouble, please see the original tutorial (or Google’s Cache). Also, I couldn’t get this list to number properly while including headings but make sure you do this in the order I have. Now let’s go.</p>
<p>Getting Started<br />
Download putty.zip (Or get the individual files from <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html</a>)<br />
Unzip the zip file and throw all of those files in C:\Windows\system32<br />
Generating Keys<br />
This is to ensure that only you can login</p>
<p>Open up the command promt by going to Start>Run, type: cmd and hit enter<br />
Type: puttygen and hit enter to bring up the PuTTY Key Generator<br />
Select SSH-2 DSA from the Parameters section<br />
Now click Generate and randomly move your mouse around the blank Key area. You should see the progress bar increase as you move around<br />
After the key is finished generating, you can and should enter a password in the Key passphrase field, just for added security; confirm the password in the next field. The Key comment field before that serves as a password hint so you can change it to something besides dsa-key-xxxxxxxx<br />
After that, click the Save private key button and give it a cool name like 733tn355.ppk and save in a place where you wont forget about it.<br />
Leave puttygen open for now.<br />
Configuring PuTTY<br />
Go back to the command prompt or open another one (Start>Run: cmd) and type putty<br />
Make sure SSH is selected in the Protocols section<br />
Click Default Settings from the Saved Sessions list and then hit Save. After that click cancel to close the dialog.<br />
Putting a Public Key on your Server<br />
You can do this part in the command prompt (Via the original guide) but I think it’s easier to do it via FTP.</p>
<p>Switch back to the PuTTY key generator and right-click on the box with the huge key you just generated. Click Select All, then right-click it again and select Copy.<br />
Open up a new document in a plain-text editor like notepad, hit enter to go to the second line. Paste the key on that second line.<br />
Save this file as authorized_keys (Notice that there’s no extension)<br />
Login to your server via FTP and go to the highest directory you can go; you should end up there right when you login.<br />
Make a folder called .ssh if it’s not there already<br />
Go into that folder and drop the authorized_keys file in there<br />
Change the Permissions/CHMOD of the authorized_keys file to 644. Go up a folder and change the Permissions of the .ssh directory to 755; this is important<br />
You can close PuTTY Key Generator, your FTP Program and notepad if they’re open<br />
Logging in<br />
I was able to login at this point by going to the command prompt, typing plink mydomain.com and entering my username and password (Dreamhost people: it’s the FTP username/password). I don’t know why the original tutorial went further to do something else but if it doesn’t work for you, try doing the extra step</p>
<p>Go back to the command prompt and type pageant. Double-click on the computer wearing a hat when it pops up in your system tray<br />
Click Add Key and go to where you stored that private key. Double-click it and enter your password for the key if you made one earlier<br />
Now go to the command prompt and type plink mydomain.com<br />
Enter your username and it should just login from there<br />
That’s about it. Here are a few links with stuff you can do in the Shell</p>
<p>Bash Shell Programming in Linux<br />
Linux &#038; Shell commands<br />
The complete command line list for Linux, Windows, Oracle, and MacOS</p>
]]></content:encoded>
			<wfw:commentRss>http://www.catchsha.com/how-to-setup-ssh-on-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.413 seconds -->

