LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   why is ssh forbidding connectins? (https://www.linuxquestions.org/questions/linux-networking-3/why-is-ssh-forbidding-connectins-344799/)

eantoranz 07-19-2005 08:11 PM

why is ssh forbidding connectins?
 
Why is ssh forbidding connections if I try to login to a given IP and then allow me to connect if I try to a different IP of the same host? :scratch:

Half_Elf 07-19-2005 09:26 PM

some details?

eantoranz 07-19-2005 09:39 PM

Well... I connect to the office's network through this server with openVPN.

The server's VPN interface has the IP 10.79.0.1, I think. It is also present in the office's 192.168.0.0/24. When my computer at home connects to the VPN, I get a 10.79.0.0/24 address as well. Now... if I try to login to 192.168.0.2 (the server's IP address), I get rejected... if I try to login to 10.79.0.1, I do it successfully (the same user, the same password). :scratch:

It's specially anoying right now, because the server's public link is down... and I don't get to login from the inner network though it's listening (I'm connected through another host...openVPN too).

Half_Elf 07-20-2005 06:43 AM

my thougth is that it's only a routing problem... what's the error message you get when you are "rejected" ? Is this something about host unreachable or timeout?

look at the output of "route -n" when your VPN is on (consider posting this here too) do you have any route leading to 192.168.x.x range out of the "default" vpn route?

eantoranz 07-20-2005 09:54 AM

Hey! I just noticed something. I was getting a "username or password incorrect" message... or something like that.... but ssh doesn't show that kind of message when you missed the username or password. It simply asks for the password three times in case you missed the password. :scratch:

Does that tell you something?


All times are GMT -5. The time now is 02:14 PM.