Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssh und access denied ... aber nur außerhalb von local net
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
zorxi
n00b
n00b


Joined: 17 Feb 2004
Posts: 3

PostPosted: Tue Feb 17, 2004 12:46 am    Post subject: ssh und access denied ... aber nur außerhalb von local net Reply with quote

Hallo alle zusammen!

Habe gerade das erste mal Gentoo installiert (hatte zuvor Slackware am laufen) und habe auch schon leider das erste Problemchen.

Und zwar habe ich sshd am laufen, nur leider kann ich mich nur vom lokalen Netzwerk einloggen. Versuche ich mich über Internet einzuloggen, meldet sich der ssh daemon zwar schön, bekomme dann aber immer nach der Passworteingabe "Access denied".
An meinen Routereinstellungen kann es nicht liegen, da es unter Slackware auf der gleichen Maschine immer gefunzt hat.

Was könnte sshd dazu bringen einen Login von außen abzuweisen, aber vom lokalen Netz zuzulassen.
In meiner sshd_conf ist eigentl. alles auskommentiert und die manpage hat mir bei dem Problem auch nicht weitergeholfen.

Hat jemand nen Tip für mich.

Greets
Back to top
View user's profile Send private message
mondauge
l33t
l33t


Joined: 08 Jan 2003
Posts: 603
Location: Schwetzingen, Germany

PostPosted: Tue Feb 17, 2004 7:36 am    Post subject: Reply with quote

Jetzt wo ich das so les, fällt mir auf, dass ich eigentlich das gleiche Problem habe. Bisher hab ichs immer drauf geschoben, dass mein Router daheim nicht online ist oder meinen Eintrag bei DynDNS nicht aktualisiert hat.
Sobald ich was rausgefunden hab meld ich mich wieder

mondauge
Back to top
View user's profile Send private message
mondauge
l33t
l33t


Joined: 08 Jan 2003
Posts: 603
Location: Schwetzingen, Germany

PostPosted: Tue Feb 17, 2004 7:50 am    Post subject: Reply with quote

Das hab ich in der manpage von sshd_config gefunden:

Code:
GatewayPorts
Specifies whether remote hosts are allowed to connect to ports forwarded for the client.  By default, sshd binds remote port forwardings to the loopback address.  This prevents other remote hosts from connecting to forwarded ports.  GatewayPorts can be used to specify that sshd should bind remote port forwardings to the wildcard address, thus allowing remote hosts to connect to forwarded ports.  The argument must be ``yes'' or ``no''.  The default is ``no''.


Ich werd das mal probieren und mich dann wieder melden

mondauge
Back to top
View user's profile Send private message
zorxi
n00b
n00b


Joined: 17 Feb 2004
Posts: 3

PostPosted: Tue Feb 17, 2004 8:20 am    Post subject: Reply with quote

Hab ich auch schon ausprobiert ... ohne Erfolg (aber versuchs trotzdem mal, hab ziemlich viel ausprobiert, vielleicht haben sich da verschiedene Einstellungen wieder gegeneinander ausgeschlossen).
Naja wenigstens steh ich jetzt nicht allein da ;-)
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Tue Feb 17, 2004 5:26 pm    Post subject: Reply with quote

Steht vielleicht im Syslog was genaueres warum ers abgelehnt hat?
Back to top
View user's profile Send private message
mondauge
l33t
l33t


Joined: 08 Jan 2003
Posts: 603
Location: Schwetzingen, Germany

PostPosted: Fri Feb 20, 2004 7:24 am    Post subject: Reply with quote

ok. ich hab folgende Parameter in meiner /etc/ssh/sshd_config gesetzt:

Code:

AllowTcpForwarding yes
GatewayPorts yes


damit konnte ich mich von der Firma aus bei mir daheim auf meinem Gentoo einloggen.

HTH
mondauge
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