Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssh permission dinied
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
ralix
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2002
Posts: 101
Location: Potsdam

PostPosted: Fri Nov 22, 2002 6:27 am    Post subject: ssh permission dinied Reply with quote

Hallo,

Ich habe folgendes Problem. Wenn ich versuche micht per ssh anzumelden (auf meinem eigenen Rechner) bekomme ich immer permission dienied. Das komische ist aber ich habe die config's für ssh von meinen alten gentoo (auch 1.4 RC1) genommen und das ging das alles.
Ich habe keine Idee warum das jetzt nicht mehr geht.

MfG Ralix
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Fri Nov 22, 2002 7:02 am    Post subject: Reply with quote

Sie mal folgenden Thread an!

https://forums.gentoo.org/viewtopic.php?t=20591

[Änderung]

Link bringt nix ;) Hab mich verlesen


Last edited by Beforegod on Fri Nov 22, 2002 7:52 am; edited 1 time in total
Back to top
View user's profile Send private message
ralix
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2002
Posts: 101
Location: Potsdam

PostPosted: Fri Nov 22, 2002 7:20 am    Post subject: Reply with quote

Also die optimierungen bei mir sind nur -O2 -pipe -mcpu=athlon-tbird und -mmmx -m3dnow.
Ich hab mein letztes gentoo auch damit gebaut. Und das ging. In der gruppe wheel bin ich drin su geht.

MfG Ralph

P.S. Werd aber mal versuchen ssh ohne Optimierungen zu übersetzten
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Fri Nov 22, 2002 7:51 am    Post subject: Reply with quote

Upps..
da hab ich wohl was falsch gelesen ;)

Ich habe gelesen das Du mit "su" Probleme hast..
deswegen vergiss den obigen Verweis ;)


Ok..
Du versuchst aber nicht Dich als root anzumelden?
Wenn ja musst Du das in der /etc/ssh/sshd.conf einstellen, das auch root erlaubt wird.
Desweiteren solltest Du checken ob Dein REchner (wenn lokales Netz) auch in der /etc/hosts steht.

Hilft das nicht weiter, check die Versionen. Hat der Server eine andere Version als Dein Klient?
Back to top
View user's profile Send private message
ralix
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2002
Posts: 101
Location: Potsdam

PostPosted: Mon Nov 25, 2002 10:43 am    Post subject: Reply with quote

also in der /etc/hosts steht der rechner ordentlich drin. Als root kann ich mich anmelden. Was
ich aber eigentlich vermeiden wollte. Es geht nur als user ralph nicht. Ich habe echt
keine Ahnung woran das liegen soll.

MfG Ralph
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Mon Nov 25, 2002 11:14 am    Post subject: Reply with quote

Ist der User "ralph" auch auf dem anderen Computer angelegt, bzw. hast Du ein NIS server am laufen?

Wenn kein NIS Server läuft, musst Du auf jedem Rechner die Benutzer seperat anlegen um Dich anzumelden.

Das mit dem root zugriff würde ich ganz schnell abstellen!
Back to top
View user's profile Send private message
ralix
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2002
Posts: 101
Location: Potsdam

PostPosted: Mon Nov 25, 2002 5:51 pm    Post subject: Reply with quote

Also nis gibt es hier nicht, auf dem Arbeitsrechner und auf meinen Rechner (zu Hause) wo
ich mich einloggen möchte gibts es den user ralph.

MfG Ralph
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Tue Nov 26, 2002 7:12 am    Post subject: Reply with quote

Bist Du dir auch 100% sicher das Du dann die selben Passwörter verwendest ? (Tschuldige die blöde frage)

Was auch wichtig ist, ist das Du ssh so startest

Code:

ssh -C ralph@xxx.xxx.xxx.xxx


(Das -C steht für eine komprimierte Verbindung)
Back to top
View user's profile Send private message
ralix
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2002
Posts: 101
Location: Potsdam

PostPosted: Wed Nov 27, 2002 7:19 am    Post subject: Reply with quote

also die selben Passwürter auf beiden Systemen sowas brauchte ich bis jetzt nie. Aber die Passworter sind auf beiden Rechner gleich.

Es geht trotzdem ach mit ssh -C ralph@xxx.xxx.xxx.xxx nicht.

MfG ralix
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Wed Nov 27, 2002 7:35 am    Post subject: Reply with quote

Poste mal Deine /etc/sshd/sshd.conf
Back to top
View user's profile Send private message
ralix
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2002
Posts: 101
Location: Potsdam

PostPosted: Wed Nov 27, 2002 7:54 am    Post subject: Reply with quote

Also es ist mir ja fast peinlich. In der passwd war keine shell für den user eingetragen ich
hab /bin/sh hinzugefügt und dann ging es.

Ich bedanke mich aber echt doll für dein Hilfe.

MfG Ralph
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Wed Nov 27, 2002 9:21 am    Post subject: Reply with quote

Kein Problem ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum