Linux Question

cozmoorg

New member
Mar 13, 2008
27
0
0
Dallas, TX
I am trying to SCP a file from my datacenter Cent OS box to my local macbook pro.

My local ISP is Time Warner. I used my local IP and tried forwarding my local DHCP IP to the 'Port Forwarding' in my netgear router.

scp -P 22 file.txt cozmoorg@192.168.1.4:/home/cozmoorg/file.txt'

Netgear is pointing Port 22 to the .4 macbook. Why would I get the following error:

ssh: connect to host 192.168.1.4 port 22: Connection timed out

Anyone ever mess with this combination? Time Warner, Netgear Router ??
 


My OS X firewall is turned off currently. I wonder if Time Warner blocks these attachments... Or should I be able to SSH into my Macbook? Netgear should be an easy fix with the proper port forward no? Thanks for chiming in!
 
is ssh installed and running? is your mac book listening on port 22 for the connection (from that IP address)? also watch your log files to see if connection attempts are even getting there.
 
192.168.*.* is reserved for local addressing and not reachable from your server. use your public ip address or just go with what waleed99877 and WebairGerard said.