Putty + SuSE 9.0

G

gamefreaktegel

Mitglied
Hi Leutz,

ich hab seitdem ich SuSE 9.0 (8.0+8.2 lief ohne Probs) laufen hab nen Problem auf den Win-Rechnern mit Putty. Ich logge mich per SSH über Putty ein. Ich werde nach meinem Loginnamen gefragt und wenn ich dann mein Passwort eingebe kommt: Access Denied.

Ich habe gelesen, dass das an Kerberos/Heimdal liegen kann... hab also alles bis auf die Kerberos-lib entfernt... aber immer noch das gleiche Prob....

sshd läuft...


Kann mir da einer helfen?
 
hallo,

schau mal in deiner sshd_config nach, ob da etwas wie:
allow root login no
drin steht. dann einfach entsprechend ändern und neustarten.

gruß
 
also ich kann mich ja auch nich als normaler user einloggen... weder root noch user geht...

is hier irgendwas falsch? sshd_config:

# $OpenBSD: sshd_config,v 1.65 2003/08/28 12:54:34 markus Exp $

# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.

#Port 22
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768

# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin yes
#StrictModes yes

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCreds yes

# Set this to 'yes' to enable PAM authentication (via challenge-response)
# and session processing. Depending on your PAM configuration, this may
# bypass the setting of 'PasswordAuthentication'
UsePAM yes

#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
UsePrivilegeSeparation no
#PermitUserEnvironment no
#Compression yes
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10

# no default banner path
#Banner /some/path

# override default of no subsystems
Subsystem sftp /usr/lib/ssh/sftp-server
 
du solltest ganz oben das protokoll und den port ganz oben öffnen und den rest könntest du zu machen, das müsste dann gehen.
 
Also ich hab das eben bei meiner SuSE 9.0 Pro Standard Install ausprobiert.
Dort ging es OHNE Probleme.

Per Default ist SSH aktiviert (sogar als root !).
 
@wolle ... wenn alles auskommentiert is, dann werden ja die defaults genommen... hab trotzdem mal einkommentiert, aber funzt trotzdem nicht...

@devilz ... kannst mal deine /etd/ssh/sshd_config posten?
 
# $OpenBSD: sshd_config,v 1.65 2003/08/28 12:54:34 markus Exp $

# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.

#Port 22
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768

# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin yes
#StrictModes yes

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCreds yes

# Set this to 'yes' to enable PAM authentication (via challenge-response)
# and session processing. Depending on your PAM configuration, this may
# bypass the setting of 'PasswordAuthentication'
UsePAM yes

#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
UsePrivilegeSeparation no
#PermitUserEnvironment no
#Compression yes
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10

# no default banner path
#Banner /some/path

# override default of no subsystems
Subsystem sftp /usr/lib/ssh/sftp-server
 
tjo... is doch irgendwie gleich...

hat noch jemand nen Vorschlag?
 
hmm ... haste mal von ner linux kiste probiert ?

Oder NUR von Putty ?

Haste mal ne neuere Putty Version probiert ?
 
hm habs mit Putty 0.53b versucht... gibs da was ne neuere version?

linux hab ich noch nich probiert... mach ich aber gleich ma...
 
"The latest version is beta 0.53b."

Ne scheint die aktuellste zu sein ... also probiers mal von nem Linux Client aus :)
 
ah! Von nem Linux-Client gehts!

Super!

Aber wie löse ich nu mein Win Prob... hmm... brauch das auch unter win... evtl. authentifiziert sich putty nicht korrekt oda so... irgendwas könnte zu streng eingestellt sein...

hmm kann mir nu einer helfen?
 
Bekommst du eine Fehlermeldung vom SSHD, vielleicht verwendet putty ssh1 und dein sshd verlangt ssh2?
 
Fehlermeldungen bekomme ich überhaupt keine... nur bei Putty eben: Access Denied (egal welcher login name).


hm ssh1 / ssh2 ? wie sehe ich welche version mein sshd von suse 9.0 haben will??

P.S.: bei devilz hat es ja gefunzt...
 
steht in deiner sshd_config bei 'protocol', normalerweise steht dort 2,1, folglich sind beide zuglassen außer du hast es geändert. ich glaube aber du solltest nochmal in dein putty schauen was du dort für einstellungen hast!!!
 
also ich hab mein prob immer noch nicht lösen können...

Hat vielleicht zufälligerweise *g* jetzt jemand einen Lösungsvorschlag?!


An Putty hab ich nix geändert... Standard-Einstellungen... die funzten bei 8.0 und 8.2 ja auch....
 
LÖsung:

Hallo an alle!

Ich hatte das selbe Problem und hab nach langem probieren und rumspielen des Problems Lösung gefunden:

In PuttY 0.53b kann man unter

Connection--->SSH--->Auth:
Variable "Attempt TIS or CryptoCard authentication (SSH1)"

mit einem Haken versehen.


Jetzt kommt zwar eine Zeile mehr beim Login aber es funzt ;D

Hoffe das das bei Dir auch geht gamefreaktegel!

so long.....

MfG Sn00Pi
 
Zuletzt bearbeitet:
Bin zwar kein Huhn aber ab und zu find ich auch mal ein Korn. :D

Freut mich dass ich Dir helfen konnte!

MfG
Sn00Pi
 

Ähnliche Themen

SSH Anmeldung mit ADS Usern

ssh Anmeldung nur vom lokalen Server

Suse 9.0

Zurück
Oben