Re: How to allow external SSH access in Suse 9.1 Pro, Out of the box.

From: houghi (houghi_at_houghi.org.invalid)
Date: 12/14/04


Date: Tue, 14 Dec 2004 09:03:55 -0000

Coenraad Loubser wrote:
> Hi!!
> Would someone please post a quick 'n simple answer.
> I just did 'n default install and for the life of me, I can't enable ssh
> access from outside.

At least your service is running. I tried and got this:
houghi@penne : ssh root@wblv-165-42-105.telkomadsl.co.za
The authenticity of host 'wblv-165-42-105.telkomadsl.co.za
(165.165.42.105)' can't be established.
RSA key fingerprint is 63:5d:a4:10:f8:8a:b9:43:a5:a8:a4:83:c7:57:f2:85.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added
'wblv-165-42-105.telkomadsl.co.za,165.165.42.105' (RSA) to the list of
known hosts.
Password:

So it is not a firewall problem or a provider problem.

> I haven't added any other users;

I really, really hope you mean you have a normal login AND root,
otherwise you are a danger to yourself, your family and worldpeace.

> and in the sshd_config allowed root to
> login; that is all;

I have never added anything and it worked with me. What I later have
changed is that I only allow 'Protocol 2'

> There is no firewall running - sshd just doesnt accept
> my root password - "incorrect password" - it also logs it as such, but I
> know it is correct.

First try to do it on your local machine. Log in as user and do
'ssh root@localhost'. That should get you in. (Answer 'yes' on the
question) If that does not work, then the rest will not work either.
Also see if 'login@localhost' works where login is your normal user
login.

> Could it be something with the keyboard translation or something like that?
> I doubt it, i've tried making the password "11111111"

If you think it is to do with the numeric keyboard, do not use numbers.
Some keyboards are different with the numbers on keypad and on the top
and some have other things on the top. I think the 'g' and the 'h' are
keys that are the same all over.

-- 
houghi
Quote correct 	(NL) http://www.briachons.org/art/quote/
Zitiere richtig (DE) http://www.afaik.de/usenet/faq/zitieren
Quote correctly (EN) http://www.netmeister.org/news/learn2quote.html


Relevant Pages

  • Re: startx Fatal server error: Cannot open /dev/tty0
    ... > startx fails under your normal user login but starts normally under your ... the question become why root user ... can init the video device, ...
    (alt.os.linux.suse)
  • Re: Swap or I/O Improvement in Fedora 8?
    ... | I first login as root, and then "su" to a normal user to run the program. ... Try login as a normal user, su to root, and then from that root shell, su ...
    (comp.os.linux.development.system)
  • Re: /etc/group changes dont take effect immediately
    ... > In an effort to run ppp as non root, I had to include my normal user ... I believe that /etc/group and /etc/passwd are only read at login time, ... you were running in X, you should completelly log out of your session, ...
    (Debian-User)
  • Re: GUI didnt start 3 days ago
    ... > command line mode with root or normal user. ... Login to your Linux server as root. ... I login with normal user and I faced some error like that GUI ...
    (RedHat)
  • Re: How to implement a automatic login function
    ... a web client which programmatically send http post request to send login ... I am simply trying to simulate a normal login. ... username and password via a post and authenticate using the ...
    (microsoft.public.dotnet.framework.aspnet)