• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

ssh Connection Problem: Permission denied

Hallo Leute ich habe folgendes Problem:

Wenn ich beispielsweise von meinem Laptop in der Arbeit aus nachhause verbinden möchte über ssh funktioniert das prima.
Jedoch wenn ich dann von diesem Rechner (mit lokaler IP: 192.168.1.1) eine weitere ssh Verbindung zu irgendeinem anderen Rechner im lokalen Heimnetzwerk machen will haut das nicht hin...

Ich habe auch schon probiert vom 192.168.1.1 selbst mittels ssh mich zu verbinden, das schlug auch fehl.
Das Problem liegt somit bei diesem Rechner (SuSE 7.0)

Als Fehlermeldung bei Verbindungsversuchen bekomme ich immer Permission denied!
Ich komme also gar nicht dazu ein Passwort einzugeben.

Ich habs von 2 anderen SuSE (9.1) Linux Rechner probiert mich hin und her zu connecten mittels ssh, und hier klappts auch.

Hat jemand eine Idee wo hier das Problem liegen könnte, oder wie ich das Problem rausfinden könnte?
 
Es kann ganz unterschiedliche Ursachen haben, letztlich kommt es auf deine Konfiguration an:
/etc/sshd_config (server) /etc/ssh_config(client)
Was steht da?

mit freundlichen Grüßen
Georg
 
OP
ATha1
folgendes:

Server sshd_config

Code:
# This is ssh server systemwide configuration file.

Port 22
#Protocol 2,1
ListenAddress 0.0.0.0
#ListenAddress ::
HostKey /etc/ssh/ssh_host_key
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin yes
#
# Don't read ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
StrictModes yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd yes
KeepAlive yes

# Logging
SyslogFacility AUTH
LogLevel INFO
#obsoletes QuietMode and FascistLogging

RhostsAuthentication no
#
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
#
RSAAuthentication yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
PermitEmptyPasswords no
# Uncomment to disable s/key passwords
#SkeyAuthentication no

# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no

# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes

CheckMail no
UseLogin no

Client ssh_config

Code:
# This is ssh client systemwide configuration file.  This file provides
# defaults for users, and the values can be changed in per-user configuration
# files or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for various options

# Host *
#   ForwardAgent yes
#   ForwardX11 yes
#   RhostsAuthentication yes
#   RhostsRSAAuthentication yes
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   FallBackToRsh yes
#   UseRsh no
#   BatchMode no
#   CheckHostIP yes
#   StrictHostKeyChecking no
#   IdentityFile ~/.ssh/identity
#   Port 22
#   Protocol 2,1
#   Cipher 3des
#   EscapeChar ~

# Be paranoid by default
Host *
        ForwardAgent no
        ForwardX11 no
        FallBackToRsh no

Ich schätze aber das Problem müsste beim Client liegen.
 
Oben