The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Networking (http://hintsforums.macworld.com/forumdisplay.php?f=14)
-   -   Server Refused Connection with FTP and SFTP (http://hintsforums.macworld.com/showthread.php?t=22974)

cappados 04-23-2004 03:46 PM

Quote:

Originally Posted by yellow
Just to make sure:
So in Transmit, in the Server heading you're putting in the IP address of the other Mac (you said you gave it a static IP, right?)?

I put in the public WAN from the ABS, which then forwards to the port on the G4. (I obviously can't use the manually assigned IP, as it's only an address for my LAN (10.0.1.101)

Quote:

Originally Posted by yellow
Username, your username. Password, your password. Protocol: "Secure (SFTP)".

And you get connection refused?

Yup, yup, yup, and yup.

Frustrating, huh. It seems like "DIGITAL GUY" had a very similiar problem. I followed his posts and tried doing everything the same, but, no go.

yellow 04-23-2004 03:51 PM

Quote:

Originally Posted by cappados
I put in the public WAN from the ABS, which then forwards to the port on the G4. (I obviously can't use the manually assigned IP, as it's only an address for my LAN (10.0.1.101)

Oooooh.. That's the "outside" versus "inside" I was talking about earlier. The Mac you're trying to connect from is "inside" the LAN. Are you just trying to verify that you can connect to it from the outside? First try SFTPing to it using the IP that you assigned it to make sure that it works.

cappados 04-23-2004 10:39 PM

Quote:

Originally Posted by yellow
Oooooh.. That's the "outside" versus "inside" I was talking about earlier. The Mac you're trying to connect from is "inside" the LAN.

True that, and I can easily connect on the network. I need to be able to connect when I'm out of town, though.

Quote:

Originally Posted by yellow
Are you just trying to verify that you can connect to it from the outside? First try SFTPing to it using the IP that you assigned it to make sure that it works.

Yeah, tried it, and that totally works. Could that mean it's a problem with the ABS?

yellow 04-23-2004 11:37 PM

So your static Mac looks to be setup just fine. So, I guess a problem with the ABS or the forwarding setup. I don't have an ABS, I have a Netgear WiFi router, so I'm not much help on the actual setup. I'm not entirely convinced you can ACCURATELY try and access your static Mac "from the outside" when the machine you're trying to access it from is on the "inside". You might wanna take a jaunt to your nearest (shudder) Starbucks and steal some WiFi for a second to try and connect to your static Mac from a better "outside" source.

cappados 04-24-2004 01:34 AM

Quote:

Originally Posted by yellow
So your static Mac looks to be setup just fine. So, I guess a problem with the ABS or the forwarding setup. I don't have an ABS, I have a Netgear WiFi router, so I'm not much help on the actual setup. I'm not entirely convinced you can ACCURATELY try and access your static Mac "from the outside" when the machine you're trying to access it from is on the "inside". You might wanna take a jaunt to your nearest (shudder) Starbucks and steal some WiFi for a second to try and connect to your static Mac from a better "outside" source.

I did--SOL.

Can't figure it... doesn't seem to make sense...

yellow 04-24-2004 05:36 AM

OK:
Works from the "inside", sounds like the Mac is properly configured.
Doesn't work from the "outside", could be 2 things I can think of.
1) misconfigured router (your ABS).
2) your ISP doesn't allow ssh traffic in from the outside.

cappados 04-24-2004 11:34 AM

Quote:

Originally Posted by yellow
OK:
Works from the "inside", sounds like the Mac is properly configured.
Doesn't work from the "outside", could be 2 things I can think of.
1) misconfigured router (your ABS).
2) your ISP doesn't allow ssh traffic in from the outside.

Seems logical--how would I find out? Call Earthlink?

yellow 04-24-2004 01:22 PM

Probably be easier to turn off the NAT/Firewall on the ABS/Router and test from the outside.

cappados 04-25-2004 02:02 PM

How do I do that?

yellow 04-25-2004 02:18 PM

Like I said, I don't have an ABS. I've no clue how to disable it.
You'll have to read the manual or do some googlin' to find out.

cappados 04-26-2004 02:37 PM

Problem Solved!!
 
After spending close to an hour and a half on IM with the generous and brilliant Robophilosopher, we got sftp (via SSH) to work. The two problems that seemed to be causing my difficulties were: 1) a wierd possibly bad installation of Pure FTPd Manager; and 2) the fact that I was trying to test it by connecting from within my LAN.

A thousand thanks again to Robo, a real resource on this site.

Cappados

yellow 04-26-2004 03:02 PM

Glad you got it working, no thanks to me, obviously. ;)

I'm curious what PureFTP has to do with SSH?

robophilosopher 04-26-2004 04:22 PM

Quote:

Originally Posted by yellow
I'm curious what PureFTP has to do with SSH?

PureFTP didn't have anything to do with SSH. I thought it would be a simple thing to try to get FTP to work first, but cappados had installed PureFTP, in a way that seemed (I have no experience with ftpd on a mac myself) to completely change/disable the default Mac FTPd, so I was working on a lot of faulty assumptions configuring that.

As soon as we switched to getting SSH/SFTP to work, it was all fine and worked as expected.


All times are GMT -5. The time now is 08:51 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.