SSH via Putty to Mac from PC - Connection Refused

Joined
Jan 2, 2008
Messages
52
Reaction score
0
Points
6
I followed this vcast: http://howto.diveintomark.org/remote-mac/

Enabled remote login on the mac.

ssh-keygen -t to create keys.

Updated the /etc/sshd_config file to portForwarding yes and usePAM no.

Created the authorized_keys file in the .ssh directory and added a public key.

Set the port forwarding on my Verizon dsl modem to my mac's ip address.

Set up a dynamic dns for the mac. Ping successful.

In putty, I pointed to the private key file, and in ssh-tunnels, added a forwarded port to localhost:5900.

Putty gives me "Network error: connection refused"

I disabled the router firewall, and the mac firewall is disabled for remote login - no good.

Any clues? Thanks in advance.
 
OP
N
Joined
Jan 2, 2008
Messages
52
Reaction score
0
Points
6
I followed this vcast: http://howto.diveintomark.org/remote-mac/

Enabled remote login on the mac.

ssh-keygen -t to create keys.

Updated the /etc/sshd_config file to portForwarding yes and usePAM no.

Created the authorized_keys file in the .ssh directory and added a public key.

Set the port forwarding on my Verizon dsl modem to my mac's ip address.

Set up a dynamic dns for the mac. Ping successful.

In putty, I pointed to the private key file, and in ssh-tunnels, added a forwarded port to localhost:5900.

Putty gives me "Network error: connection refused"

I disabled the router firewall, and the mac firewall is disabled for remote login - no good.

Any clues? Thanks in advance.
 
Joined
Jul 12, 2006
Messages
135
Reaction score
4
Points
18
A lot of so-called ISPs, especially the telcos and cablecos, block inbound ports that were not opened by outbound requests to enforce ToS restrictions (thus they are not true ISPs in my book). You could be facing that problem.
 
OP
N
Joined
Jan 2, 2008
Messages
52
Reaction score
0
Points
6
Yeah, you're right. I got the remoting to work locally. Had to adjust the authentication options to eventually get it working. I'm in New York City - what alternatives to Verizon would I have other than Time Warner cable? I figure TWC probably would pose the same problem.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top