CaptainPinko
05-03-2003, 02:26 AM
i have a server on my lan running sshd. i can connect to it using its internal ip, but when i attempt to use its internet url i get "Access Denied" for every account.... what gives?
|
Click to See Complete Forum and Search --> : SSH over Internet...Access Denied CaptainPinko 05-03-2003, 02:26 AM i have a server on my lan running sshd. i can connect to it using its internal ip, but when i attempt to use its internet url i get "Access Denied" for every account.... what gives? apeekaboo 05-03-2003, 04:11 AM Possible firewall on your server or at your isp...? Can you see anything in your logs? CaptainPinko 05-03-2003, 01:06 PM i doubt its a fire wall problem since it blocked telnet in my /etc/hosts.deny file and when i attempt a telnet connection with puTTY i get a "connection refused error" but when i try to use ssh i still get the login screen (so i assume it connects) it jst denies access to every account apeekaboo 05-03-2003, 02:49 PM So you get prompted for your password? Then it shouldn't be the lack of an entry in /etc/hosts.allow... Have you checked your /etc/ssh/sshd_config? I'm using these options: DenyUsers root DenyGroups root AllowUsers eek You might have something similar. Actually when using 'AllowUsers', root should atomatically be denied access... but it makes me sleep better. :) CaptainPinko 05-03-2003, 03:11 PM what am i looking for? most of it is commented it out. i haven't touched it since i installed RH8... could that be the problem? apeekaboo 05-03-2003, 04:24 PM Tell me more about your server. Have ssh worked previous, and now it stopped working? What is the exact error message you get in a terminal when you try to login to your server? Does the server have two network cards? Does anything get logged to /var/log/messages (or perhaps /var/log/auth.log) when you: a) log in to your black ip addresse b) try to log in on your internet ip addresse Have you had someone else from outside trying to log in to your server (I guess that's what you really want, isn't it?) What gets logged in these cases? CaptainPinko 05-03-2003, 07:34 PM ssh always works from within the lan when it uses its eth0 address (ie. 10.0.0.1) but when i attempt to connect to it from the same computer that i connect to it locally (both are connected to the internet) using its DynDns url i get access denied. Tho i just tried it now but i can connect to it if i type the ppp0 ip directly.... ----- and the lesson kiddies is learn to check the urls you type especially if you save them... i had a typo in the url. Thanks for the help but REALLY REALLY sorry for wasting your time. I'd delete this thread but let it serve as a lesson for others... oh the shame! bwkaz 05-03-2003, 08:17 PM And someone else is probably wondering where all these ssh connections are coming from in their logs... ;) (edit: no, that someone else isn't me, just in case you thought it was...) apeekaboo 05-04-2003, 04:22 AM Well you know, these theings happen... I'm just glad that it worked out for you! parth 05-06-2003, 11:14 AM WELLCOME TO THE CLUB ...... ;) justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |