ssh host - und es passiert nichts weiter

A

AlexKoeppe

Mitglied
Thread Starter
Dabei seit
25.09.2005
Beiträge
22
Reaktionspunkte
0
Wenn ich ssh auf einen Host mache auf dem ein ssh server laeuft unter Linux (SSH 2) passiert nach der Eingabe nichts mehr. Weis jemand einen Ansatz?

Gruss Alex
 
ssh -v sollte dir mehr infos geben wo es hakt...
 
Naja gespraechiger ist es jetzt schon einmal.
Code:
iBook:~ format_c$ ssh -v boston
OpenSSH_3.8.1p1, OpenSSL 0.9.7b 10 Apr 2003
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to boston [192.168.0.29] port 22.
debug1: Connection established.
debug1: identity file /Users/format_c/.ssh/identity type -1
debug1: identity file /Users/format_c/.ssh/id_rsa type -1
debug1: identity file /Users/format_c/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1

Da bleibts dann stehen. Ich seh nix ungewoehnliches. Du?

Gruss Alex
 
Jetzt gehts. Das dauert aber ziemlich lange....
Aber da scheint wohl doch ein Problem vorzuliegen
Hier mal der gesamte Output bis zum Verbindungsaufbau:
Code:
iBook:~ format_c$ ssh -v boston
OpenSSH_3.8.1p1, OpenSSL 0.9.7b 10 Apr 2003
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to boston [192.168.0.29] port 22.
debug1: Connection established.
debug1: identity file /Users/format_c/.ssh/identity type -1
debug1: identity file /Users/format_c/.ssh/id_rsa type -1
debug1: identity file /Users/format_c/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
debug1: An invalid name was supplied
Configuration file does not specify default realm

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: An invalid name was supplied
Configuration file does not specify default realm

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'boston' is known and matches the RSA host key.
debug1: Found key in /Users/format_c/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/format_c/.ssh/identity
debug1: Trying private key: /Users/format_c/.ssh/id_rsa
debug1: Trying private key: /Users/format_c/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
Password: 
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Last login: Mon Sep 26 22:40:37 2005 from 192.168.0.20
format_c@boston ~ $

Gruss Alex
 
Zuletzt bearbeitet:
Namensauflösung! Setz Boston mal in Deine /etc/hosts, oder verbinde Dich mal an die IP Adresse.
 
Hab ich eigentlich. Aber ich probiers trotzdem. Mal schauen...
Code:
iBook:~ format_c$ cat /etc/hosts 
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost 
192.168.0.29    boston  boston.koeppe.dns
iBook:~ format_c$ ssh -v 192.168.0.29
OpenSSH_3.8.1p1, OpenSSL 0.9.7b 10 Apr 2003
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to 192.168.0.29 [192.168.0.29] port 22.
debug1: Connection established.
debug1: identity file /Users/format_c/.ssh/identity type -1
debug1: identity file /Users/format_c/.ssh/id_rsa type -1
debug1: identity file /Users/format_c/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
debug1: An invalid name was supplied
Configuration file does not specify default realm

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: An invalid name was supplied
Configuration file does not specify default realm

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '192.168.0.29' is known and matches the RSA host key.
debug1: Found key in /Users/format_c/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/format_c/.ssh/identity
debug1: Trying private key: /Users/format_c/.ssh/id_rsa
debug1: Trying private key: /Users/format_c/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
Password: 
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Last login: Mon Sep 26 22:42:23 2005 from 192.168.0.20
format_c@boston ~ $

Mmh das Problem scheint immer noch da zu sein.

Gruss Alex
 
schalte mal auf dem linux server den kerberos kram aus, da scheint das irgendwo zu haken...
jedenfalls spricht das realm dafür...
 
Danke fuer den Tipp. Hab mal geschaut. Aber ich habe nix von Kerberos in der Konfigdatei gefunden.
Hier meine ssh Konfigurationsdatei: http://phpfi.com/80256

Noch ne Idee??

Gruss Alex
 
Zuletzt bearbeitet von einem Moderator:
Hab jetzt Protocol 2 fest in die /etc/ssh_config eingetragen und jetzt gehts normal schnell.

Danke fuer eure Hilfe

Gruss Alex
 
Zurück
Oben Unten