• [^] # Re: ftp sur /etc/cron.hourly

    Posté par . En réponse au message comment reprendre la main sur un serveur sans ssh ?. Évalué à 1.

    Efectivement, c'est mieux, je peux lancer un serveur ssh !
    par contre, je n'arrive pas à me connecter, il me répond :
    No supported key exchange algorithms (coté serveur)

    et coté client :
    Connection closed by XXX.XXX.XXX.XXX
    avec telnet, on a un peu plus d'infos ;
    Trying XXX.XXX.XXX.XXX...
    Connected to monsite.com.
    Escape character is '^]'.
    SSH-2.0-OpenSSH_4.3p2 Debian-5~bpo.1

    Protocol mismatch.
    Connection closed by foreign host

    est ce que vous savez de quelles "key exchange algorithms " il veut parler ?

    pour info, voici la trace complète :
    $ /tmp/openssh-sarge/usr/sbin/sshd -f sshd_config_new -h .ssh/ssh_host_rsa_key -p 2550 -d
    debug1: sshd version OpenSSH_4.3p2 Debian-5~bpo.1
    debug1: read PEM private key done: type RSA
    debug1: private host key: #0 type 1 RSA
    debug1: setgroups() failed: Operation not permitted
    debug1: rexec_argv[0]='/tmp/openssh-sarge/usr/sbin/sshd'
    debug1: rexec_argv[1]='-f'
    debug1: rexec_argv[2]='sshd_config_new'
    debug1: rexec_argv[3]='-h'
    debug1: rexec_argv[4]='.ssh/ssh_host_rsa_key'
    debug1: rexec_argv[5]='-p'
    debug1: rexec_argv[6]='2550'
    debug1: rexec_argv[7]='-d'
    debug1: Bind to port 2550 on 0.0.0.0.
    Server listening on 0.0.0.0 port 2550.
    socket: Address family not supported by protocol
    debug1: Server will not fork when running in debugging mode.
    debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7
    debug1: inetd sockets after dupping: 3, 3
    Connection from [mon ip] port 55782
    debug1: Client protocol version 2.0; client software version OpenSSH_4.3p2 Debian-9
    debug1: match: OpenSSH_4.3p2 Debian-9 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-5~bpo.1
    debug1: list_hostkey_types:
    No supported key exchange algorithms
    debug1: do_cleanup