[ale] ftp - no route to host???

Jerald Sheets questy at gmail.com
Tue Jul 27 08:02:21 EDT 2010


ooo...  are you in a chrooted environment, but haven't made the allowances for individual user directories in the chroot config?

--j


On Jul 27, 2010, at 7:53 AM, Geoffrey wrote:

> Richard Bronosky wrote:
>>>> ftp $IP_ADDR
>>>> 
>>>> returns:
>>>> 
>>>> ftp: connect: No route to host
>> 
>> If the error was connection refuse, or connection reset, I'd say it
>> was either a firewall on the box or by his ISP. But, "No route" means
>> his client does not know that it has a network interface capable of
>> routing traffic to the given host (which in this case is specified by
>> an IP address). Although he is able to reach it via SSH and UDP ping.
>> That's jacked up.
>> 
>> Maybe try:
>> echo $IP_ADDR # make sure you have the right var/value
>> host $IP_ADDR # seeing if you can do a [reverse] lookup on the var/value
>> telnet $IP_ADDR 22 # standard ssh port number
>> telnet $IP_ADDR 21 # standard ftp port number
>> 
>> If you get "No route to host" from one of those telnets and not the
>> other... evil is afoot.
> 
> Interesting thing now,  if I do:
> 
> ftp $IP_ADDR 21
> 
> prompts for password, I enter it, I then get:
> 
> OOPS: cannot change directory:/home/student
> 
> I'm logging in as that id, what gives???
> 
> 
> -- 
> Until later, Geoffrey
> 
> "I predict future happiness for America if they can prevent
> the government from wasting the labors of the people under
> the pretense of taking care of them."
> - Thomas Jefferson
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo




More information about the Ale mailing list