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

[gelöst] kein anmelden von entfernten rechner über ssh...

michl1974

Newbie
Hallo Forum,

Ich hebe eine Suse 10.1 neu installiert, so ziemlich nur mit Standardeinstellungen...

Ich kann mich jetzt leider aber nicht im lokalen Netz per ssh auf dem suse Rechner mit putty anmelden.
Bekomme immer die login-Aufforderung, und wenn nach passwort gefragt wird bekomme ich immer: Access denied

Was muß ich machen, damit das möglich ist...?

Die Suche im Board und/oder google nach ssh login bringt millionen von treffern...
Hab angefangen mich bisschen durchzulesen, aber leider habe ich nicht die Zeit um alle durchzuforsten....

Danke schonmal für Tipps...

Gruß,
micha
 

framp

Moderator
Teammitglied
Poste doch mal cat /etc/sshd/sshd_config | grep -v "^#" | grep -v "^$" und mit welchem User Du Dich anmelden willst.
 
OP
M

michl1974

Newbie
Hm...
Ich habe gar kein sshd Verzeichniss unter /etc, deswegen hab ich mal ssh verzeichnis genommen.
Was mir auch bisschen komisch vorkommt ist, dass alles auskommentiert ist, bis auf die letzten drei zeilen...
Nicht normal, oder...?

Code:
Marvin:/etc # cat /etc/ssh/sshd_config | grep -v "^$#" | grep -v "^$"
#       $OpenBSD: sshd_config,v 1.72 2005/07/25 11:59:40 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
#AddressFamily any
#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
#MaxAuthTries 6
#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
#KerberosGetAFSToken no
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
# Set this to 'yes' to enable support for the deprecated 'gssapi' authentication
# mechanism to OpenSSH 3.8p1. The newer 'gssapi-with-mic' mechanism is included
# in this release. The use of 'gssapi' is deprecated due to the presence of
# potential man-in-the-middle attacks, which 'gssapi-with-mic' is not susceptible to.
#GSSAPIEnableMITMAttack no

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication mechanism.
# Depending on your PAM configuration, this may bypass the setting of
# PasswordAuthentication, PermitEmptyPasswords, and
# "PermitRootLogin without-password". If you just want the PAM account and
# session checks to run without PAM authentication, then enable this but set
# ChallengeResponseAuthentication=no
UsePAM yes
#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#PidFile /var/run/sshd.pid
#MaxStartups 10
# no default banner path
#Banner /some/path
# override default of no subsystemsSubsystem      sftp/usr/lib/ssh/sftp-server
# This enables accepting locale enviroment variables LC_* LANG, see sshd_config(5).
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL

Fast hätt ichs vergessen...
Bekomme mit root und mit user Access denied!
 

framp

Moderator
Teammitglied
michl1974 schrieb:
Hm...
Ich habe gar kein sshd Verzeichniss unter /etc, deswegen hab ich mal ssh verzeichnis genommen.
Ist genau richtig. War mein Fehler :roll: .
Was mir auch bisschen komisch vorkommt ist, dass alles auskommentiert ist, bis auf die letzten drei zeilen...
Nicht normal, oder...?
Im config File sind die Defaults auf Kommentar gesetzt. Das mache ich auch bei mir in anderen Config Files.

Setzt mal
Code:
LogLevel VERBOSE

und poste das Ergebnis eines Zugriffsversuchs aus /var/log/messages
 
OP
M

michl1974

Newbie
sorry, hab noch ne blöde Frage...
bin ziemlicher Anfänger.
Wie setze ich das LogLevel auf VERBOSE ?
 

framp

Moderator
Teammitglied
michl1974 schrieb:
sorry, hab noch ne blöde Frage...
Eine Frage ist bloed wenn sie das zweite Mal gestellt wird :roll:
Wie setze ich das LogLevel auf VERBOSE ?
Mit einem Editor das # in der Zeile
Code:
#LogLevel INFO
entfernen und INFO durch VERBOSE ersetzen.

Alles muss aber als root gemacht werden und danach der sshd restarted werden (rcsshd restart).
 
OP
M

michl1974

Newbie
Ich bekomme nur das:

Code:
Aug 30 23:11:55 Marvin sshd[13231]: Connection from 192.168.10.2 port 1695
und nach erfolglosem anmelden, nach zwei minuten das.
Code:
Aug 30 23:13:55 Marvin sshd[13231]: fatal: Timeout before authentication for 192.168.10.2

Wieo eigentlich port 1695...?
Sollte das nicht 22 sein...?
in var/ log/messages steht sshd is listening auf port 22
 

framp

Moderator
Teammitglied
michl1974 schrieb:
Ich bekomme nur das:

Code:
Aug 30 23:11:55 Marvin sshd[13231]: Connection from 192.168.10.2 port 1695
und nach erfolglosem anmelden, nach zwei minuten das.
Code:
Aug 30 23:13:55 Marvin sshd[13231]: fatal: Timeout before authentication for 192.168.10.2
Hast Du den sshd restarted?

Wieo eigentlich port 1695...?
Sollte das nicht 22 sein...?
in var/ log/messages steht sshd is listening auf port 22

Es gibt einen Port beim Server und der ist 22. Und es gibt einen Port beim Client und der wird zufaellig ab 1024 vom Client gewaehlt. In Deinem Fall ist es 1695. 8)
 
OP
M

michl1974

Newbie
ja, hab ich....

zur sicherheit auch nocheinmal...
Code:
Aug 30 23:41:17 Marvin sshd[25806]: Server listening on :: port 22.
Aug 30 23:41:17 Marvin sshd[25806]: Generating 768 bit RSA key.
Aug 30 23:41:18 Marvin sshd[25806]: RSA key generation complete.
Aug 30 23:41:39 Marvin sshd[25963]: Connection from 192.168.10.2 port 1749

und das ist alles....
 

framp

Moderator
Teammitglied
Hm ...

teste doch mal auf dem LInux Rechner ob da ssh funktioniert:

Also in dem CommandFenster ssh -vv hugo@hostname

Dann setze mal den Loglevel auf DEBUG3. Da sollte dann wirklich was zu sehen sein.
 

rolle

Guru
Mal 'ne ganz andere Idee. Hast Du Umlaute oder Sonderzeichenen in Deinem Passwort? Falls ja, eventuell kommst Du da mit deutschem und englischem Tatasturlayout durcheinander.
 
OP
M

michl1974

Newbie
an die umlaute hab ich auch schon gedacht, ist aber nicht der fall.
Es sein den ne mischung aus gross- und kleinbuchstaben macht auch probleme...
 
OP
M

michl1974

Newbie
Also hier lokal funktioniert ssh
kann mich als benutzer anmelden...
var/log/messages:
Code:
Aug 30 23:54:10 Marvin sshd[31333]: Connection from 192.168.10.3 port 9347
Aug 30 23:54:24 Marvin sshd[31333]: Accepted keyboard-interactive/pam for michl from 192.168.10.3 port 9347 ssh2
Aug 30 23:56:37 Marvin su: (to root) michl on /dev/pts/2
Aug 30 23:56:44 Marvin sshd[25806]: Received signal 15; terminating.
Aug 30 23:56:44 Marvin sshd[32509]: debug2: fd 3 setting O_NONBLOCK
Aug 30 23:56:44 Marvin sshd[32509]: debug1: Bind to port 22 on ::.
Aug 30 23:56:44 Marvin sshd[32509]: Server listening on :: port 22.
Aug 30 23:56:44 Marvin sshd[32509]: Generating 768 bit RSA key.
Aug 30 23:56:45 Marvin sshd[32509]: RSA key generation complete.
Aug 30 23:57:22 Marvin sshd[31437]: Connection closed by 192.168.10.3
Aug 30 23:57:22 Marvin sshd[31437]: Closing connection to 192.168.10.3
Aug 30 23:57:32 Marvin sshd[32509]: debug3: fd 4 is not O_NONBLOCK
Aug 30 23:57:32 Marvin sshd[390]: debug1: rexec start in 4 out 4 newsock 4 pipe 6 sock 7
Aug 30 23:57:32 Marvin sshd[32509]: debug1: Forked child 390.
Aug 30 23:57:32 Marvin sshd[32509]: debug3: send_rexec_state: entering fd = 7 config len 402
Aug 30 23:57:32 Marvin sshd[32509]: debug3: ssh_msg_send: type 0
Aug 30 23:57:32 Marvin sshd[32509]: debug3: send_rexec_state: done
Aug 30 23:57:32 Marvin sshd[390]: debug1: inetd sockets after dupping: 3, 3
Aug 30 23:57:32 Marvin sshd[390]: debug3: Normalising mapped IPv4 in IPv6 address
Aug 30 23:57:32 Marvin sshd[390]: Connection from 192.168.10.3 port 23466
Aug 30 23:57:32 Marvin sshd[390]: debug1: Client protocol version 2.0; client software version OpenSSH_4.2
Aug 30 23:57:32 Marvin sshd[390]: debug1: match: OpenSSH_4.2 pat OpenSSH*
Aug 30 23:57:32 Marvin sshd[390]: debug1: Enabling compatibility mode for protocol 2.0
Aug 30 23:57:32 Marvin sshd[390]: debug1: Local version string SSH-1.99-OpenSSH_4.2
Aug 30 23:57:32 Marvin sshd[390]: debug2: fd 3 setting O_NONBLOCK
Aug 30 23:57:32 Marvin sshd[390]: debug2: Network child is on pid 391
Aug 30 23:57:32 Marvin sshd[390]: debug3: preauth child monitor started
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:32 Marvin sshd[390]: debug3: monitor_read: checking request 0
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_answer_moduli: got parameters: 1024 1024 8192
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_request_send entering: type 1
Aug 30 23:57:32 Marvin sshd[390]: debug2: monitor_read: 0 used once, disabling now
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:32 Marvin sshd[390]: debug3: monitor_read: checking request 4
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_answer_sign
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_answer_sign: signature 0x8005c518(143)
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_request_send entering: type 5
Aug 30 23:57:32 Marvin sshd[390]: debug2: monitor_read: 4 used once, disabling now
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:32 Marvin sshd[390]: debug3: monitor_read: checking request 6
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_answer_pwnamallow
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_request_send entering: type 7
Aug 30 23:57:32 Marvin sshd[390]: debug2: monitor_read: 6 used once, disabling now
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:32 Marvin sshd[390]: debug3: monitor_read: checking request 45
Aug 30 23:57:32 Marvin sshd[390]: debug1: PAM: initializing for "michl"
Aug 30 23:57:32 Marvin sshd[390]: debug3: Normalising mapped IPv4 in IPv6 address
Aug 30 23:57:32 Marvin sshd[390]: debug3: Trying to reverse map address 192.168.10.3.
Aug 30 23:57:32 Marvin sshd[390]: debug1: PAM: setting PAM_RHOST to "marvin.local"
Aug 30 23:57:32 Marvin sshd[390]: debug1: PAM: setting PAM_TTY to "ssh"
Aug 30 23:57:32 Marvin sshd[390]: debug2: monitor_read: 45 used once, disabling now
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:32 Marvin sshd[390]: debug3: monitor_read: checking request 3
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_answer_authserv: service=ssh-connection, style=
Aug 30 23:57:32 Marvin sshd[390]: debug2: monitor_read: 3 used once, disabling now
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:32 Marvin sshd[390]: debug3: monitor_read: checking request 48
Aug 30 23:57:32 Marvin sshd[390]: debug3: mm_answer_pam_init_ctx
Aug 30 23:57:32 Marvin sshd[390]: debug3: PAM: sshpam_init_ctx entering
Aug 30 23:57:32 Marvin sshd[396]: debug3: PAM: sshpam_thread_conv entering, 1 messages
Aug 30 23:57:32 Marvin sshd[396]: debug3: ssh_msg_send: type 1
Aug 30 23:57:33 Marvin sshd[396]: debug3: ssh_msg_recv entering
Aug 30 23:57:33 Marvin sshd[390]: debug3: mm_request_send entering: type 49
Aug 30 23:57:33 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:33 Marvin sshd[390]: debug3: monitor_read: checking request 50
Aug 30 23:57:33 Marvin sshd[390]: debug3: mm_answer_pam_query
Aug 30 23:57:33 Marvin sshd[390]: debug3: PAM: sshpam_query entering
Aug 30 23:57:33 Marvin sshd[390]: debug3: ssh_msg_recv entering
Aug 30 23:57:33 Marvin sshd[390]: debug3: mm_request_send entering: type 51
Aug 30 23:57:33 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:37 Marvin sshd[390]: debug3: monitor_read: checking request 52
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_answer_pam_respond
Aug 30 23:57:37 Marvin sshd[390]: debug2: PAM: sshpam_respond entering, 1 responses
Aug 30 23:57:37 Marvin sshd[390]: debug3: ssh_msg_send: type 6
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_send entering: type 53
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:37 Marvin sshd[390]: debug3: monitor_read: checking request 50
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_answer_pam_query
Aug 30 23:57:37 Marvin sshd[390]: debug3: PAM: sshpam_query entering
Aug 30 23:57:37 Marvin sshd[390]: debug3: ssh_msg_recv entering
Aug 30 23:57:37 Marvin sshd[396]: debug1: do_pam_account: called
Aug 30 23:57:37 Marvin sshd[396]: debug3: PAM: do_pam_account pam_acct_mgmt = 0 (Success)
Aug 30 23:57:37 Marvin sshd[396]: debug3: ssh_msg_send: type 0
Aug 30 23:57:37 Marvin sshd[390]: debug3: PAM: import_environments entering
Aug 30 23:57:37 Marvin sshd[390]: debug3: sshpam_password_change_required 0
Aug 30 23:57:37 Marvin sshd[390]: debug3: PAM: num env strings 0
Aug 30 23:57:37 Marvin sshd[390]: debug1: PAM: num PAM env strings 0
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_send entering: type 51
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:37 Marvin sshd[390]: debug3: monitor_read: checking request 52
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_answer_pam_respond
Aug 30 23:57:37 Marvin sshd[390]: debug2: PAM: sshpam_respond entering, 0 responses
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_send entering: type 53
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:37 Marvin sshd[390]: debug3: monitor_read: checking request 54
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_answer_pam_free_ctx
Aug 30 23:57:37 Marvin sshd[390]: debug3: PAM: sshpam_free_ctx entering
Aug 30 23:57:37 Marvin sshd[390]: debug3: PAM: sshpam_thread_cleanup entering
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_send entering: type 55
Aug 30 23:57:37 Marvin sshd[390]: debug2: monitor_read: 54 used once, disabling now
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_receive_expect entering: type 46
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:37 Marvin sshd[390]: debug1: do_pam_account: called
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_send entering: type 47
Aug 30 23:57:37 Marvin sshd[390]: Accepted keyboard-interactive/pam for michl from 192.168.10.3 port 23466 ssh2
Aug 30 23:57:37 Marvin sshd[390]: debug1: monitor_child_preauth: michl has been authenticated by privileged process
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_get_keystate: Waiting for new keys
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_receive_expect entering: type 24
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_newkeys_from_blob: 0x80069c08(118)
Aug 30 23:57:37 Marvin sshd[390]: debug2: mac_init: found hmac-md5
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_get_keystate: Waiting for second key
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_newkeys_from_blob: 0x80069c08(118)
Aug 30 23:57:37 Marvin sshd[390]: debug2: mac_init: found hmac-md5
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_get_keystate: Getting compression state
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_get_keystate: Getting Network I/O buffers
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_share_sync: Share sync
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_share_sync: Share sync end
Aug 30 23:57:37 Marvin sshd[390]: debug2: User child is on pid 429
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:37 Marvin sshd[429]: debug3: PAM: opening session
Aug 30 23:57:37 Marvin sshd[429]: debug1: PAM: reinitializing credentials
Aug 30 23:57:37 Marvin sshd[429]: debug1: permanently_set_uid: 1000/100
Aug 30 23:57:37 Marvin sshd[429]: debug2: set_newkeys: mode 0
Aug 30 23:57:37 Marvin sshd[429]: debug2: set_newkeys: mode 1
Aug 30 23:57:37 Marvin sshd[429]: debug1: Entering interactive session for SSH2.
Aug 30 23:57:37 Marvin sshd[429]: debug2: fd 5 setting O_NONBLOCK
Aug 30 23:57:37 Marvin sshd[429]: debug2: fd 6 setting O_NONBLOCK
Aug 30 23:57:37 Marvin sshd[429]: debug1: server_init_dispatch_20
Aug 30 23:57:37 Marvin sshd[429]: debug1: server_input_channel_open: ctype session rchan 0 win 65536 max 16384
Aug 30 23:57:37 Marvin sshd[429]: debug1: input_session_request
Aug 30 23:57:37 Marvin sshd[429]: debug1: channel 0: new [server-session]
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_new: init
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_new: session 0
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_open: channel 0
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_open: session 0: link with channel 0
Aug 30 23:57:37 Marvin sshd[429]: debug1: server_input_channel_open: confirm session
Aug 30 23:57:37 Marvin sshd[429]: debug1: server_input_channel_req: channel 0 request pty-req reply 0
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_by_channel: session 0 channel 0
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_input_channel_req: session 0 req pty-req
Aug 30 23:57:37 Marvin sshd[429]: debug1: Allocating pty.
Aug 30 23:57:37 Marvin sshd[429]: debug3: mm_request_send entering: type 25
Aug 30 23:57:37 Marvin sshd[390]: debug3: monitor_read: checking request 25
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_answer_pty entering
Aug 30 23:57:37 Marvin sshd[390]: debug1: session_new: init
Aug 30 23:57:37 Marvin sshd[390]: debug1: session_new: session 0
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_send entering: type 26
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_answer_pty: tty /dev/pts/2 ptyfd 4
Aug 30 23:57:37 Marvin sshd[390]: debug3: mm_request_receive entering
Aug 30 23:57:37 Marvin sshd[429]: debug3: mm_pty_allocate: waiting for MONITOR_ANS_PTY
Aug 30 23:57:37 Marvin sshd[429]: debug3: mm_request_receive_expect entering: type 26
Aug 30 23:57:37 Marvin sshd[429]: debug3: mm_request_receive entering
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_pty_req: session 0 alloc /dev/pts/2
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: SSH2 n_bytes 256
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: ospeed 38400
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: ispeed 38400
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 1 3
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 2 28
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 3 127
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 4 21
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 5 4
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 6 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 7 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 8 17
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 9 19
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 10 26
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 12 18
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 13 23
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 14 22
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 18 15
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 30 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 31 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 32 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 33 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 34 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 35 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 36 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 37 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 38 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 39 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 40 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 41 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 50 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 51 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 52 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 53 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 54 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 55 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 56 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 57 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 58 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 59 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 60 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 61 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 62 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 70 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 71 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 72 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 73 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 74 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 75 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 90 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 91 1
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 92 0
Aug 30 23:57:37 Marvin sshd[429]: debug3: tty_parse_modes: 93 0
Aug 30 23:57:37 Marvin sshd[429]: debug1: server_input_channel_req: channel 0 request env reply 0
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_by_channel: session 0 channel 0
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_input_channel_req: session 0 req env
Aug 30 23:57:37 Marvin sshd[429]: debug2: Setting env 0: LANG=POSIX
Aug 30 23:57:37 Marvin sshd[429]: debug1: server_input_channel_req: channel 0 request env reply 0
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_by_channel: session 0 channel 0
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_input_channel_req: session 0 req env
Aug 30 23:57:37 Marvin sshd[429]: debug2: Setting env 1: LC_CTYPE=de_DE.UTF-8
Aug 30 23:57:37 Marvin sshd[429]: debug1: server_input_channel_req: channel 0 request shell reply 0
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_by_channel: session 0 channel 0
Aug 30 23:57:37 Marvin sshd[429]: debug1: session_input_channel_req: session 0 req shell
Aug 30 23:57:37 Marvin sshd[429]: debug1: PAM: setting PAM_TTY to "/dev/pts/2"
Aug 30 23:57:37 Marvin sshd[430]: debug1: Setting controlling tty using TIOCSCTTY.
Aug 30 23:57:37 Marvin sshd[430]: debug3: Normalising mapped IPv4 in IPv6 address
Aug 30 23:57:37 Marvin sshd[430]: debug3: channel 0: close_fds r -1 w -1 e -1 c -1
Aug 30 23:57:37 Marvin sshd[429]: debug2: fd 3 setting TCP_NODELAY
Aug 30 23:57:37 Marvin sshd[429]: debug2: channel 0: rfd 8 isatty
Aug 30 23:57:37 Marvin sshd[429]: debug2: fd 8 setting O_NONBLOCK
Aug 30 23:57:37 Marvin sshd[429]: debug3: fd 7 is O_NONBLOCK

noch ne idee...?
 
OP
M

michl1974

Newbie
wenn ich mich von entfernt anmelde kommt das in var/log/messages:
Code:
Aug 31 00:03:02 Marvin sshd[32509]: debug3: fd 4 is not O_NONBLOCK
Aug 31 00:03:02 Marvin sshd[2784]: debug1: rexec start in 4 out 4 newsock 4 pipe 6 sock 7
Aug 31 00:03:02 Marvin sshd[32509]: debug1: Forked child 2784.
Aug 31 00:03:02 Marvin sshd[32509]: debug3: send_rexec_state: entering fd = 7 config len 402
Aug 31 00:03:02 Marvin sshd[32509]: debug3: ssh_msg_send: type 0
Aug 31 00:03:02 Marvin sshd[32509]: debug3: send_rexec_state: done
Aug 31 00:03:02 Marvin sshd[2784]: debug1: inetd sockets after dupping: 3, 3
Aug 31 00:03:02 Marvin sshd[2784]: debug3: Normalising mapped IPv4 in IPv6 address
Aug 31 00:03:02 Marvin sshd[2784]: Connection from 192.168.10.2 port 1762
Aug 31 00:03:02 Marvin sshd[2784]: debug1: Client protocol version 1.5; client software version PuTTY_Release_0.58
Aug 31 00:03:02 Marvin sshd[2784]: debug1: no match: PuTTY_Release_0.58
Aug 31 00:03:02 Marvin sshd[2784]: debug1: Local version string SSH-1.99-OpenSSH_4.2
Aug 31 00:03:02 Marvin sshd[2784]: debug2: fd 3 setting O_NONBLOCK
Aug 31 00:03:02 Marvin sshd[2784]: debug2: Network child is on pid 2785
Aug 31 00:03:02 Marvin sshd[2784]: debug3: preauth child monitor started
Aug 31 00:03:02 Marvin sshd[2784]: debug3: mm_request_receive entering
Aug 31 00:03:02 Marvin sshd[2784]: debug3: monitor_read: checking request 28
Aug 31 00:03:02 Marvin sshd[2784]: debug3: mm_request_send entering: type 29
Aug 31 00:03:02 Marvin sshd[2784]: debug2: monitor_read: 28 used once, disabling now
Aug 31 00:03:02 Marvin sshd[2784]: debug3: mm_request_receive entering
Aug 31 00:03:02 Marvin sshd[2784]: debug3: monitor_read: checking request 30
Aug 31 00:03:02 Marvin sshd[2784]: debug3: mm_answer_sessid entering
Aug 31 00:03:02 Marvin sshd[2784]: debug2: monitor_read: 30 used once, disabling now
Aug 31 00:03:02 Marvin sshd[2784]: debug3: mm_request_receive entering
Aug 31 00:03:05 Marvin sshd[2784]: debug3: monitor_read: checking request 6
Aug 31 00:03:05 Marvin sshd[2784]: debug3: mm_answer_pwnamallow
Aug 31 00:03:05 Marvin sshd[2784]: debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
Aug 31 00:03:05 Marvin sshd[2784]: debug3: mm_request_send entering: type 7
Aug 31 00:03:05 Marvin sshd[2784]: debug2: monitor_read: 6 used once, disabling now
Aug 31 00:03:05 Marvin sshd[2784]: debug3: mm_request_receive entering
Aug 31 00:03:05 Marvin sshd[2784]: debug3: monitor_read: checking request 45
Aug 31 00:03:05 Marvin sshd[2784]: debug1: PAM: initializing for "michl"
Aug 31 00:03:05 Marvin sshd[2784]: debug3: Normalising mapped IPv4 in IPv6 address
Aug 31 00:03:05 Marvin sshd[2784]: debug3: Trying to reverse map address 192.168.10.2.
Aug 31 00:03:05 Marvin sshd[2784]: debug1: PAM: setting PAM_RHOST to "arthurdent"
Aug 31 00:03:05 Marvin sshd[2784]: debug1: PAM: setting PAM_TTY to "ssh"
Aug 31 00:03:05 Marvin sshd[2784]: debug2: monitor_read: 45 used once, disabling now
Aug 31 00:03:05 Marvin sshd[2784]: debug3: mm_request_receive entering
Aug 31 00:03:19 Marvin sshd[2784]: debug1: do_cleanup
Aug 31 00:03:19 Marvin sshd[2784]: debug1: PAM: cleanup
Aug 31 00:03:19 Marvin sshd[2784]: debug3: PAM: sshpam_thread_cleanup entering
 

towo

Moderator
Teammitglied
Aug 31 00:03:02 Marvin sshd[2784]: debug1: Client protocol version 1.5; client software version PuTTY_Release_0.58
Fällt Dir was auf?
Deshalb fragte ich Dich schon oben, ob putty ssh v2 gesetzt ist!
 
OP
M

michl1974

Newbie
ohmann, danke...
hab ich völlig übersehen....

Muß ich im putty auf der XP-Box noch was anderes einstellen für protokoll 2.0? Wenn ja, wie...?
Ich glaube der übernimmt das nicht.... obwohl der Punkt bei 2.0 gesetzt ist...

Werde das heute abend nach feierabend nochmal testen...
Auf jeden Fall ersteinmal Danke!!

Sag dir noch bescheid obs klappt...
 
OP
M

michl1974

Newbie
Vielen Dank für die Hilfe, jetzt hats geklappt...

Ich habs irgendwie nich geblickt, die Einstellungen im putty für ssh2 zu übernehmen...
sorry.

Danke nochmal für die Mühen...

Gruß,
Micha
 
Oben