LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-19-2005, 08:11 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
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?
 
Old 07-19-2005, 09:26 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
some details?
 
Old 07-19-2005, 09:39 PM   #3
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
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).

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).
 
Old 07-20-2005, 06:43 AM   #4
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
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?
 
Old 07-20-2005, 09:54 AM   #5
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
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.

Does that tell you something?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
[SSH] Issue logging in [SSH & Permissions] MD3 Linux - Networking 11 12-10-2006 09:25 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
I turned off SSH, but I cant get it back! How do you start SSH on boot? nmoog Slackware 2 02-08-2004 05:18 PM
ssh issue: /usr/bin/ssh -x -oFallBackToRsh no -l WeNdeL Linux - Software 1 03-04-2003 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration