SSH com Ubuntu 18

1. SSH com Ubuntu 18

William Souza
Willi4m

(usa KUbuntu)

Enviado em 11/06/2018 - 10:38h

Bom dia, estou com um problema estranho.
Usava até ontem o Debian 9 para acessar os roteadores do meu serviço por SSH.
Aí resolvi trocar para o Ubuntu 18 e não consigo acesso aos roteadores por causa da versão do Openssh.
Quando tento acesso, recebo a mensagem: ssh_dispatch_run_fatal: Connection to <IP> port 22: Invalid key length.
Alguem ja teve esse problema?


ssh -v <IP>
OpenSSH_7.6p1 Ubuntu-4, OpenSSL 1.0.2n 7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to <IP> [<IP>] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/william/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/william/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/william/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/william/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/william/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/william/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/william/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/william/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4
debug1: Remote protocol version 1.99, remote software version Cisco-1.25
debug1: match: Cisco-1.25 pat Cisco-1.* compat 0x60000000
debug1: Authenticating to <IP>:22 as 'william'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: diffie-hellman-group-exchange-sha1
debug1: kex: host key algorithm: ssh-rsa
debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha1 compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha1 compression: none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<4096<8192) sent
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
ssh_dispatch_run_fatal: Connection to <IP> port 22: Invalid key length





  


2. Boa tarde,

Bruno Cavalcanti
Bruno_Cavalcanti

(usa CentOS)

Enviado em 11/06/2018 - 13:31h

Tente regerar novamente a chave RSA com tamanho igual ou maior a 1024bits

Agraço e viva o linux.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts