faq обучение настройка
Текущее время: Пт мар 29, 2024 10:35

Часовой пояс: UTC + 3 часа




Начать новую тему Ответить на тему  [ Сообщений: 7 ] 
Автор Сообщение
 Заголовок сообщения: DES-3200/C1 SSH в 4.46B004
СообщениеДобавлено: Ср ноя 30, 2016 17:32 
Не в сети

Зарегистрирован: Чт дек 24, 2009 17:30
Сообщений: 296
Откуда: Днепропетровск
Не работает доступ по SSH на прошивке 4.46B004

Цитата:
$ telnet 172.16.36.115 22
Trying 172.16.36.115...
Connected to 172.16.36.115.
Escape character is '^]'.
SSH-2.0-DLINK Corp. SSH server ver 1.00.000
^]
telnet> quit
Connection closed.


Цитата:
$ ssh -vvv 172.16.36.115
OpenSSH_7.3p1-hpn14v11, OpenSSL 1.0.2j 26 Sep 2016
debug1: Reading configuration data /home/spiderx/.ssh/config
debug1: /home/spiderx/.ssh/config line 260: Applying options for *
debug3: kex names ok: [diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1]
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolving "172.16.36.115" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 172.16.36.115 [172.16.36.115] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/spiderx/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/spiderx/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/spiderx/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/spiderx/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/spiderx/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/spiderx/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/spiderx/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/spiderx/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.3p1-hpn14v11
debug1: Remote protocol version 2.0, remote software version DLINK Corp. SSH server ver 1.00.000
debug1: no match: DLINK Corp. SSH server ver 1.00.000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to 172.16.36.115:22 as 'spiderx'
debug3: hostkeys_foreach: reading file "/home/spiderx/.ssh/known_hosts"
debug3: record_hostkey: found key type RSA in file /home/spiderx/.ssh/known_hosts:1142
debug3: load_hostkeys: loaded 1 keys from 172.16.36.115
debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug1: AUTH STATE IS 0
debug2: local client KEXINIT proposal
debug2: KEX algorithms: diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,ext-info-c
debug2: host key algorithms: ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib@openssh.com,zlib
debug2: compression stoc: none,zlib@openssh.com,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha256
debug2: host key algorithms: ssh-dss,ssh-rsa
debug2: ciphers ctos: 3des-cbc,blowfish-cbc,twofish-cbc,twofish256-cbc,twofish192-cbc,twofish128-cbc,aes256-cbc,aes192-cbc,aes128-cbc,arcfour,cast128-cbc
debug2: ciphers stoc: 3des-cbc,blowfish-cbc,twofish-cbc,twofish256-cbc,twofish192-cbc,twofish128-cbc,aes256-cbc,aes192-cbc,aes128-cbc,arcfour,cast128-cbc
debug2: MACs ctos: hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96
debug2: MACs stoc: hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96
debug2: compression ctos: none
debug2: compression stoc: none
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: diffie-hellman-group1-sha1
debug1: kex: host key algorithm: ssh-rsa
debug1: REQUESTED ENC.NAME is 'aes128-cbc'
debug1: kex: server->client cipher: aes128-cbc MAC: hmac-sha1 compression: none
debug1: REQUESTED ENC.NAME is 'aes128-cbc'
debug1: kex: client->server cipher: aes128-cbc MAC: hmac-sha1 compression: none
debug1: sending SSH2_MSG_KEXDH_INIT
debug2: bits set: 517/1024
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug3: receive packet: type 31
debug1: Server host key: ssh-rsa SHA256:gYCq6SV3BGTPDwbWWkS9UmxLtTrIW9eekUrKxCFXW9Y
debug3: hostkeys_foreach: reading file "/home/spiderx/.ssh/known_hosts"
debug3: record_hostkey: found key type RSA in file /home/spiderx/.ssh/known_hosts:1142
debug3: load_hostkeys: loaded 1 keys from 172.16.36.115
debug1: Host '172.16.36.115' is known and matches the RSA host key.
debug1: Found key in /home/spiderx/.ssh/known_hosts:1142
invalid public DH value: >= p-1
debug3: send packet: type 1
ssh_dispatch_run_fatal: Connection to 172.16.36.115 port 22: incomplete message


На 4.44B001 проблемы нет.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3200/C1 SSH в 4.46B004
СообщениеДобавлено: Чт дек 01, 2016 09:02 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Вт янв 18, 2011 13:29
Сообщений: 8999
В 4.46 добавили поддержку diffie-hellman-group-exchange-sha256, о проблеме с ssh у некоторых терминальных программ известно (например, SecureCRT), в ближайшее время обещают исправить.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3200/C1 SSH в 4.46B004
СообщениеДобавлено: Вт мар 28, 2017 08:39 
Не в сети

Зарегистрирован: Чт дек 24, 2009 17:30
Сообщений: 296
Откуда: Днепропетровск
Прошло четыре месяца. Есть какие-то перспективы?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3200/C1 SSH в 4.46B004
СообщениеДобавлено: Ср мар 29, 2017 16:43 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Чт фев 12, 2009 14:59
Сообщений: 9482
Откуда: Ryazan
Попробуйте, пожалуйста, ситуацию с прошивкой по ссылке ниже:
https://cloud.dlink.ru/owcl/index.php/s/xAS5hc5KrYLnoMt/download

Она пока тестируется, поэтому еще не выложена. По результатам сообщите, пожалуйста.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3200/C1 SSH в 4.46B004
СообщениеДобавлено: Чт июл 26, 2018 12:46 
Не в сети

Зарегистрирован: Чт дек 24, 2009 17:30
Сообщений: 296
Откуда: Днепропетровск
Код:
172.16.0.12:admin#show sw           
Command: show switch

Device Type                : DES-3200-52 Fast Ethernet Switch
MAC Address                : BC-F6-85-B8-59-78
IP Address                 : 172.16.0.12 (Manual)
VLAN Name                  : vlan1000
Subnet Mask                : 255.255.255.0
Default Gateway            : 172.16.0.250
Boot PROM Version          : Build 4.00.001
[color=#FF0000]Firmware Version           : Build 4.48.B007[/color]
Hardware Version           : C1


Код:
# ssh -vv 172.16.0.12
[color=#FF0000]OpenSSH_7.7p1-hpn14v15-gentoo2, LibreSSL 2.6.5[/color]
debug1: Reading configuration data /root/.ssh/config
debug1: /root/.ssh/config line 1: Applying options for 172.16.0.*
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname 172.16.0.12 is address
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 172.16.0.12 [172.16.0.12] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_xmss type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.7p1-hpn14v15-gentoo2
debug1: Remote protocol version 2.0, remote software version DLINK Corp. SSH server ver 1.00.000
debug1: no match: DLINK Corp. SSH server ver 1.00.000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to 172.16.0.12:22 as 'spiderx'
debug1: /root/.ssh/known_hosts:28: parse error in hostkeys file
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: AUTH STATE IS 0
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,ext-info-c
debug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos: aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
debug2: ciphers stoc: aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib@openssh.com,zlib
debug2: compression stoc: none,zlib@openssh.com,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha256
debug2: host key algorithms: ssh-dss,ssh-rsa
debug2: ciphers ctos: 3des-cbc,blowfish-cbc,twofish-cbc,twofish256-cbc,twofish192-cbc,twofish128-cbc,aes256-cbc,aes192-cbc,aes128-cbc,arcfour,cast128-cbc
debug2: ciphers stoc: 3des-cbc,blowfish-cbc,twofish-cbc,twofish256-cbc,twofish192-cbc,twofish128-cbc,aes256-cbc,aes192-cbc,aes128-cbc,arcfour,cast128-cbc
debug2: MACs ctos: hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96
debug2: MACs stoc: hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96
debug2: compression ctos: none
debug2: compression stoc: none
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: diffie-hellman-group-exchange-sha256
debug1: kex: host key algorithm: ssh-rsa
debug1: REQUESTED ENC.NAME is 'aes128-cbc'
debug1: kex: server->client cipher: aes128-cbc MAC: hmac-sha1 compression: none
debug1: REQUESTED ENC.NAME is 'aes128-cbc'
debug1: kex: client->server cipher: aes128-cbc MAC: hmac-sha1 compression: none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<7680<8192) sent
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
debug2: bits set: 1027/2048
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
[color=#FF0000]ssh_dispatch_run_fatal: Connection to 172.16.0.12 port 22: Invalid key length[/color]


https://www.openssh.com/releasenotes.html :

Цитата:
Refuse RSA keys <1024 bits in length and improve reporting for keys
that do not meet this requirement.


Есть шансы на исправление?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3200/C1 SSH в 4.46B004
СообщениеДобавлено: Пт авг 03, 2018 11:40 
Не в сети

Зарегистрирован: Чт дек 24, 2009 17:30
Сообщений: 296
Откуда: Днепропетровск
Хотелось бы получить ответ.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3200/C1 SSH в 4.46B004
СообщениеДобавлено: Пт авг 03, 2018 12:46 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Вт янв 18, 2011 13:29
Сообщений: 8999
Попробуйте связаться с ближайшим региональным представительством


Вернуться наверх
 Профиль  
 
Показать сообщения за:  Сортировать по:  
Начать новую тему Ответить на тему  [ Сообщений: 7 ] 

Часовой пояс: UTC + 3 часа


Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 55


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
Создано на основе phpBB® Forum Software © phpBB Group
Русская поддержка phpBB