Home > Archive > Linux/Unix > August 2003 > Can't login Via SSH on a remote location





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Can't login Via SSH on a remote location
ITGirl25

2003-07-30, 7:04 pm

I can't seem to login when I connect remotely to my linux server.

I get to the login Screen fine, but when I put in my password, it gives me an access denied message. I tried it with several names and passwords, same thing.


I was curious, so I logged into another machine on my network, and just used the my machine's ip to ssh into the linux computer, it worked fine. This problem only seems to occur when I try to do this thru the internet.
ITGirl25

2003-07-30, 11:35 pm

I guess no one can help me with this on huh.

when I start up servers, such as ssh, are there any additionally changes I should make?
Boulware5

2003-07-30, 11:53 pm

Are you 110% sure the password is correct? Remember it's case sensitive.
ITGirl25

2003-07-31, 2:31 pm

Iam Infinite % Sure.

I have no problems login in when I type in 192.168.1.105. nOne at all.

If i use this addr 141.151.12.22 (Internet Addr) I get to the login Screen, It accept the name, but doesnt accept the password..

I tried creating different users... I am positive its not the passwd. I tried it over and over and over again
Boulware5

2003-07-31, 9:13 pm

Hm, not sure. Where are you trying to SSH into your LAN from? From within your lan or outside it?

Try nmap localhost and make sure Port 22, SSH is open. But I'm thinking if port 22 isn't open, you wouldn't even get a log in screen - but you do..
ITGirl25

2003-08-01, 1:14 pm

Is nmap localhost a linux command?, if so, it can't be found.

So when I start the sshd on the linux server, don't I automatically supposed to connect to it via SSH? are there any other settings that need to be changed in the linux server?
ITGirl25

2003-08-01, 1:20 pm

Great, now I restarted the linux server, now I can't connect via 68.160.214.33 now, thats crazy. I even started up the sshd on the linux server. I still can connect via ssh if i use 192.168.1.5 however, but not if i use for example 68.160.214.33. I set up my router to map and everything.
Boulware5

2003-08-01, 1:36 pm

First of all, I would not say my public IP address on here. I can't imagine any registered member, at least the regular ones, trying naughty things, but anyone on the net' can read these boards. So keep your IP private.

As for nmap, most distros ship with it. Since you gave your public IP address, if you want me to, I could scan you to see if ssh is open, but only if you give me permission. It may not be in your path; try locate nmap

Try to SSH from OUTSIDE your network. But when you ssh from outside, use your public address.
ITGirl25

2003-08-01, 6:55 pm

lol, that is just an example public Ip address, lol. Its not my actuall public ip address
ITGirl25

2003-08-01, 7:01 pm

How would I scan to see if ssh is OPEN?
Boulware5

2003-08-01, 9:03 pm

quote:
Originally posted by ITGirl25
lol, that is just an example public Ip address, lol. Its not my actuall public ip address


haha...good. I knew you were smarter than that.
Boulware5

2003-08-01, 9:21 pm

quote:
Originally posted by ITGirl25
How would I scan to see if ssh is OPEN?


I've told you how... nmap localhost

Here is an example output from my system:

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on localhost (127.0.0.1):
(The 1595 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
111/tcp open sunrpc
631/tcp open ipp
6000/tcp open X11
ITGirl25

2003-08-02, 3:46 pm

I can't use nmap localhost, but I tried Locate nmap, and it didnt show any stats just came up with some other stuff.
Boulware5

2003-08-02, 4:24 pm

quote:
Originally posted by ITGirl25
I can't use nmap localhost, but I tried Locate nmap, and it didnt show any stats just came up with some other stuff.


Why would locate nmap come up with "stats"? Locate locates files.

locate nmap
/usr/bin/nmap
.
. (plus other crap it finds)
.
Now this tells me that nmap is in /usr/bin, so to execute it, I type /usr/bin/nmap localhost (because it's not in my path)
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net