SSH into a Windows computer

So you’re cruising along in Linux, happily using SSH to tunnel into every server you have access to, and suddenly you realize you need to get a file on your Windows computer. Sure, you could set up a remote desktop client like LogMeIn or GoToMyPC, but it’s just so simple to use SSH. But Windows only has telnet, which is not only disabled by default but horribly insecure to boot.

The solution is simple: Cygwin.

Cygwin provides access to a plethora tools you might find on your average Linux system, including an SSH server and related tools. I won’t go into the gory details of getting it up and running, as Gina Trapani of Lifehacker fame has already written a wonderful tutorial on this very topic. It’s an old article (from 2006), but it should still be accurate as far as all the steps go.

One thing you may notice if you’re running Windows Vista or Windows 7 is the addition of a mysterious user account called Privileged Server on your login screen. When SSH was being set up in Cygwin, a separate user was created for the SSH server, presumably so you couldn’t muck up too much on your own account when tunneling into your computer. It’s supposed to be there, but it may be kind of annoying to have a user account you’re never going to directly access taking up space on your login page. This can be fixed using the registry, but don’t edit it if you’re not entirely sure what you’re doing. Screwing up the registry can potentially result in irreparable damage to your Windows installation, computer hardware, and personal relationships. Yes, it’s that powerful. (I’m kidding.)

First things first, open up regedit via either the search box in the Start menu or the Run dialog. Once it’s open, navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon. Right-click on Winlogon in the tree directory (left panel) and select New>Key. Type SpecialAccounts in the box that appears and hit Enter. Again in the tree directory, right-click on SpecialAccounts and create a new key titled UserList. (Note: these keys may already exist. In that case, simply click to enter them.)

Now, in UserList, right-click in the right panel and select New>DWORD (32-bit) Value. Name it cyg_server. (Note: I believe this is the account name, but you can double-check by right-clicking on My Computer, selecting Properties, then Advanced Properties, and clicking the Settings button under User Profiles. There may be a number of profiles there other than your personal account, but the SSH server likely has cyg somewhere in the name.)

Double-clicking on the value name will allow you to modify the data contained within. The default of 0 hides the account from the login screen, but you can show it again by changing that to 1.

Now you can exit out of regedit and log out or restart your computer to see the login screen sans Privileged Server! Congratulations, you are now a computer wizard. You may now put on your robe and hat.

Hey look, he’s back!

After many months of soul-searching and meditating on desolate Himalayan mountaintops, I have decided to return to my blog. You may commence with the rejoicing.

Seriously, though, I’m paying for web hosting that’s just sitting here accumulating virtual dust, so I may as well do something with it. My current contract lasts until sometime in November, but I’m not entirely sure if I’ll renew it. Most likely, I’ll move to a WordPress.com account, or even a Tumblr. Then again, a free blog has its own drawbacks, including involuntary ads and limited customization. I suppose I’ll have to mull on that for a while.

Originally, I had great plans for this site. Custom-made websites! WordPress themes! Witty bantering about anything and everything! Then I realized that I didn’t quite have the time to make websites for people, nor do I know much about PHP (though I’m learning!), so I fell back on the ol’ ranting and raving. That was all well and good back then, but I’ve mellowed in my old age, so I’m not feeling the vitriolic vibe needed for properly lambasting the morons of the world.

So, I’ve decided to branch out for the short time this site is still around. Maybe I’ll post some technical tutorials or insights into my recent experiences in the programming world. Or maybe I’ll just post pictures of goofy-looking dogs in military uniforms.

Hiatus

This is probably stupidly obvious, but I’m putting this blog on an indefinite hiatus. It started out as equal parts inane prattling about my life and complaining about how screwed up the world is, and I don’t really feel like writing about either any more. I’ve got a Twitter account for all the pointless life-related stuff, and my rants have historically had too much rhetoric and not enough substance. I’d rather not be a liberal version of Glenn Beck or Bill O’Reilly.

Once I figure out what purpose this blog will serve, I’ll be sure to let everyone know. By writing a post. On this blog.

(That was smooth.)

Oh, and for pity’s sake, people, stop sending me stuff about Alex Jones. I’m sorry I ever mentioned the guy.

Still here

As you can see by my nifty Twitter timeline in the sidebar, I haven’t died or anything. I’m still here, though I’m lacking in reasons to post full-size blog articles at the moment. But fear not, good readers! Eventually, I figure out what I’m going to do with this website. Maybe I’ll write a webcomic. Or grow a beard.

Yes, beards are relevant to my interests.

Mass Effect 2

Oh man, I’m so looking forward to Mass Effect 2. I didn’t even know there was going to be a sequel to Mass Effect, but having read about it recently, I’m very much intrigued, although I hope they spend a bit more time optimizing it for the PC, though Mass Effect was one of the better Xbox to PC ports I’ve seen (certainly better than Halo 2 for Vista…*shudder*).

At any rate, the big news is the one minute teaser trailer. Have a look. (Spoilers abound after the break.)

Continue reading ‘Mass Effect 2′

 

January 2012
S M T W T F S
« Apr    
1234567
891011121314
15161718192021
22232425262728
293031  
Support Wikipedia