Jump to content
11 posts in this topic

Recommended Posts

So I'm trying to set up remote access with my home PC (running Windows) so that I can access it at work. Problem is, PCAnywhere (a quick and dirty - though powerful :) - app) doesn't work from my job. The next best option is SSH, since I know it's open.

 

What's the best way to access your windows box via SSH?

Link to comment
https://www.insanelymac.com/forum/topic/8208-ssh-and-remote-access/
Share on other sites

So I'm trying to set up remote access with my home PC (running Windows) so that I can access it at work. Problem is, PCAnywhere (a quick and dirty - though powerful :) - app) doesn't work from my job. The next best option is SSH, since I know it's open.

 

What's the best way to access your windows box via SSH?

 

SSH for Windows = not so great. For a solution similar to PCanywhere, try LogMeIn.com. They work pretty well, plus they have great security. Oh, and the price, $0. :P

Here is my favorite for connecting from my former work, which is behind a very large corporate firewall.

http://www.remotelyanywhere.com

 

It offers web browser access so no program needed for connecting just a browser. It offers ActiveX, Java, HTML access control and has NTAuthentication, SSL, RSA security.

 

Forgot to say that no 3rd party is involved to connect, it's a direct connection.

  • 2 weeks later...

http://www.cygwin.com

 

Get their setup program and make sure you install openssh and a few other tools (cygrunservice or whatever, too). (Yes, it might be a bit complicated...you can also run your ssh server on any port you want if 22 is blocked.)

 

After installing openssh (from Cygwin in this case)...

 

(1a) Login as Administrator (Windows XP - login as a user with Administrator privilege).

 

(1b) Make sure the current admin/user has a Windows password set.

If not, use Control Panel...User Accounts to create a password.

 

(2a) Create a folder c:\cygwin

 

(2b) g Download cygwin's setup.exe from http://www.cygwin.com/ and save setup.exe in c:\cygwin

Click Start...Run...and type c:\cygwin\setup.exe

 

If you are asked about "Just Me" or "All Users", choose "All Users"

 

When it asks for "Local Package Directory", type c:\cygwin

When a selection screen comes up, (you can resize the windows to see better)

click the little View button for "Full" view

find the package "openssh", click on the word "skip" so that an x appears in Column B,

 

 

Click next to start installing cygwin and ssh.

Size of the basic cygwin system is about 40 Meg, this may take a while.

 

 

 

(3) Right click My Computer, Properties, Advanced, Environment Variables

See this illustration (red dots)

Click the "New" new button to add a new entry to system variables:

variable name is CYGWIN

variable value is ntsec

 

(4) Right click My Computer, Properties, Advanced, Environment Variables

See this illustration (green dots)

Select the Path variable and click the "Edit" edit button:

append ;c:\cygwin\bin to the end of the existing variable string.

 

(5) Open a cygwin window (by double clicking theg icon), a black screen pops open, type

ssh-host-config (on slower computers, it may take several minutes to generate the dsa keys)

When the script asks you about "privilege separation", answer yes

When the script asks about "create local user sshd", answer yes

When the script asks you about "install sshd as a service", answer yes

When the script asks you for "CYGWIN=" your answer is ntsec

 

See Note 5 below if you need to run ssh-host-config again.

 

(6) While you are still in the (black) cygwin screen, start the sshd service

net start sshd

or

cygrunsrv --start sshd

 

Note: if you need to stop the sshd service, pop open a g cygwin window

net stop sshd or cygrunsrv --stop sshd

 

(7) Make sure every Windows user has a password set, if not,

go to Control Panel....User Accounts and create a password.

 

(8) important Pop a cygwin gwindow, harmonize Windows user information with cygwin, otherwise they cannot login

mkpasswd --local > /etc/passwd

mkgroup --local > /etc/group

  • 5 months later...
×
×
  • Create New...