SSHing from a OSX 10.6 Mac to WinXP Box

Sleepingforest

Platinum Member
Nov 18, 2012
2,375
0
76
I'm trying to set up a SOCKS proxy server on my WinXP box and access it on my Mac. I've taken a few steps so far on my Windows box:
  • Installed Cygwin
  • Installed OpenSSH
  • Disabled Protocol 1
  • Started a server with "net start sshd"
  • Opened port 22
This is where I get stuck. I type (on the Mac) into Terminal the following:
I know what my IP addresses are, as I've reserved an IP address for the Windows box and my Mac (one each). But what do I put for the user?

Furthermore, I know that using "sudo" prompts me to put in the Mac's admin password, and I did that. But afterward, it asks me for the password to the Windows box, and I haven't set one, explicitly to streamline this process. What am I missing?
 

Demo24

Diamond Member
Aug 5, 2004
8,356
9
81
You may need to set a password on the xp machine. Default user would probably be 'Administrator'. I also don't think you need to sudo or specify the port since you are using 22. So I'd just do: ssh Administrator@(ip of machine)
 

Sleepingforest

Platinum Member
Nov 18, 2012
2,375
0
76
So basically, set a password that I know on the Windows box for the Admin account (as well as droping sudo and 22)?
 

Sleepingforest

Platinum Member
Nov 18, 2012
2,375
0
76
I'm having difficulty setting the actual Administrator account's password. We are talking about the account that's hidden by default by Microsoft, right?
 

Demo24

Diamond Member
Aug 5, 2004
8,356
9
81
Actually I may have given you bad advice there, in thinking on it whatever the default account was (assuming there is only one) will probably be the administrator, but it will likely need a password set for this ssh to work.

One way to check:

start > run > control userpasswords2

That will give you detailed information about the user accounts on the computer, let you know if your account is set as administrator, and if not you could change it to be one and then give it a password.