퍼티의 SSH 터널에 연결할 때 오류가 계속 발생합니다.


22

퍼티 0.66의 현재 버전을 사용하고 있으며이 오류가 계속 발생합니다.

연결 끊김 : 서버 프로토콜 위반 : 예기치 않은 SSH2_MSG_UNIMPLEMENTED 패킷

ssh 터널에 연결하려고 할 때. 여기 내 이벤트 로그가 있습니다.

 Event Log: Looking up host "216.186.209.69"

Event Log: Connecting to 216.186.209.69 port 22

Event Log: We claim version: SSH-2.0-PuTTY_Release_0.66

Event Log: Server version: SSH-2.0-ROSSSH

Event Log: Using SSH protocol version 2

Outgoing packet #0x0, type 20 / 0x14 (SSH2_MSG_KEXINIT)


Incoming packet #0x0, type 20 / 0x14 (SSH2_MSG_KEXINIT)
                    ..........
Event Log: Doing Diffie-Hellman group exchange

Outgoing packet #0x1, type 34 / 0x22 (SSH2_MSG_KEX_DH_GEX_REQUEST)
            .......... .
Incoming packet #0x1, type 31 / 0x1f (SSH2_MSG_KEX_DH_GEX_GROUP)
                    ..........
Event Log: Doing Diffie-Hellman key exchange with hash SHA-256

Outgoing packet #0x2, type 32 / 0x20 (SSH2_MSG_KEX_DH_GEX_INIT)
                                    Il..
Incoming packet #0x2, type 33 / 0x21 (SSH2_MSG_KEX_DH_GEX_REPLY)

                                  d-%..
Event Log: Host key fingerprint is:

Event Log: ssh-dss 1024 2b:2f:13:27:36:a5:1b:02:e5:1a:fe:04:cf:90:ae:10

Outgoing packet #0x3, type 21 / 0x15 (SSH2_MSG_NEWKEYS)

Event Log: Initialised AES-256 CBC client->server encryption

Event Log: Initialised HMAC-SHA1 client->server MAC algorithm

Incoming packet #0x3, type 21 / 0x15 (SSH2_MSG_NEWKEYS)

Event Log: Initialised AES-256 CBC server->client encryption

Event Log: Initialised HMAC-SHA1 server->client MAC algorithm

Outgoing packet #0x4, type 2 / 0x02 (SSH2_MSG_IGNORE)
                                       ....
Outgoing packet #0x5, type 5 / 0x05 (SSH2_MSG_SERVICE_REQUEST)

Incoming packet #0x4, type 6 / 0x06 (SSH2_MSG_SERVICE_ACCEPT)

Outgoing packet #0x6, type 2 / 0x02 (SSH2_MSG_IGNORE)
  0                                     
Outgoing packet #0x7, type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)

Incoming packet #0x5, type 52 / 0x34 (SSH2_MSG_USERAUTH_SUCCESS)

Event Log: Access granted

Event Log: Opening session as main channel

Outgoing packet #0x8, type 2 / 0x02 (SSH2_MSG_IGNORE)

Outgoing packet #0x9, type 90 / 0x5a (SSH2_MSG_CHANNEL_OPEN)

Incoming packet #0x6, type 91 / 0x5b (SSH2_MSG_CHANNEL_OPEN_CONFIRMATION)

Event Log: Opened main channel

Event Log: Local port 8080 SOCKS dynamic forwarding

Outgoing packet #0xa, type 2 / 0x02 (SSH2_MSG_IGNORE)

Outgoing packet #0xb, type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)

Outgoing packet #0xc, type 2 / 0x02 (SSH2_MSG_IGNORE)

Outgoing packet #0xd, type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)

Incoming packet #0x7, type 99 / 0x63 (SSH2_MSG_CHANNEL_SUCCESS)

Event Log: Allocated pty (ospeed 38400bps, ispeed 38400bps)

Incoming packet #0x8, type 99 / 0x63 (SSH2_MSG_CHANNEL_SUCCESS)

Event Log: Started a shell/command

Incoming packet #0x9, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)

Incoming packet #0xa, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)

Incoming packet #0xb, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)

Outgoing packet #0xe, type 2 / 0x02 (SSH2_MSG_IGNORE)
                                       ....
Outgoing packet #0xf, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)

Outgoing packet #0x10, type 2 / 0x02 (SSH2_MSG_IGNORE)

Outgoing packet #0x11, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)

Outgoing packet #0x12, type 2 / 0x02 (SSH2_MSG_IGNORE)
....

Outgoing packet #0x13, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
                       ........a
Event Log: Opening connection to www.bing.com:80 for forwarding from 127.0.0.1:49212

Outgoing packet #0x14, type 2 / 0x02 (SSH2_MSG_IGNORE)
                                    ....

Outgoing packet #0x15, type 90 / 0x5a (SSH2_MSG_CHANNEL_OPEN)


Event Log: Opening connection to www.bing.com:80 for forwarding from 127.0.0.1:49213

Outgoing packet #0x16, type 2 / 0x02 (SSH2_MSG_IGNORE)
                                     ....
Outgoing packet #0x17, type 90 / 0x5a (SSH2_MSG_CHANNEL_OPEN)
00     

Incoming packet #0xc, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)

Incoming packet #0xd, type 91 / 0x5b (SSH2_MSG_CHANNEL_OPEN_CONFIRMATION)

Outgoing packet #0x18, type 2 / 0x02 (SSH2_MSG_IGNORE)

Outgoing packet #0x19, type 96 / 0x60 (SSH2_MSG_CHANNEL_EOF)
                                    ....
Incoming packet #0xe, type 91 / 0x5b (SSH2_MSG_CHANNEL_OPEN_CONFIRMATION)

Outgoing packet #0x1a, type 2 / 0x02 (SSH2_MSG_IGNORE)
                                       ....
Outgoing packet #0x1b, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)

Incoming packet #0xf, type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)

Incoming packet #0x10, type 97 / 0x61 (SSH2_MSG_CHANNEL_CLOSE)

Outgoing packet #0x1c, type 2 / 0x02 (SSH2_MSG_IGNORE)

Event Log: Forwarded port closed
Incoming packet #0x11, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)


Incoming packet #0x12, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)

Outgoing packet #0x1e, type 2 / 0x02 (SSH2_MSG_IGNORE)

Outgoing packet #0x1f, type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)

Outgoing packet #0x20, type 2 / 0x02 (SSH2_MSG_IGNORE)

Outgoing packet #0x21, type 93 / 0x5d (SSH2_MSG_CHANNEL_WINDOW_ADJUST)

Incoming packet #0x13, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)

Incoming packet #0x14, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)

Outgoing packet #0x22, type 2 / 0x02 (SSH2_MSG_IGNORE)

Outgoing packet #0x23, type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)

Outgoing packet #0x24, type 2 / 0x02 (SSH2_MSG_IGNORE)

Outgoing packet #0x25, type 93 / 0x5d (SSH2_MSG_CHANNEL_WINDOW_ADJUST)

Incoming packet #0x15, type 3 / 0x03 (SSH2_MSG_UNIMPLEMENTED)

Outgoing packet #0x26, type 2 / 0x02 (SSH2_MSG_IGNORE)

Outgoing packet #0x27, type 1 / 0x01 (SSH2_MSG_DISCONNECT)


Event Log: Disconnected: Server protocol violation: unexpected SSH2_MSG_UNIMPLEMENTED packet

PuTTY 로깅을 "SSH 패킷"으로 변경 + 서버 로그에 유용한 것이 있습니까?
Martin Prikryl

1
일부 기능이없는 서버를 처리하고있을 수 있으며 ( SSH-2.0-ROSSSH) 퍼티가이 메시지를 처리 ​​할 수 ​​없습니다. 그러나 실제로 무엇을 달성하려고합니까? 꽤 거친 것 같습니다.
Jakuje

@MartinPrikryl 난 내 ssh 패킷 로그의 새로운 정보를 추가, 도움이되기를 바랍니다
Kibbz

1
@ Kibbz, 귀하의 사건이 아래의 답변에서 설명한 것과 동일 할 수 있습니까? 많은 사람들에게 도움이되었습니다. 확인하고 정답으로 선택할 수 있습니까?
FlameStorm

답변:


38

나에게 중요한 것은 "Diffie-Hellman 그룹 교환" 키 교환 알고리즘이 서버에서 구현되지 않았다는 것입니다 ( 연결 > SSH > KEX 참조 ).

이 키 교환 알고리즘을 목록의 맨 아래로 옮기고 "Diffie-Hellman 그룹 14" 알고리즘을 먼저 만들면 문제가 해결되었습니다.



9

0.63에서 비슷한 오류가 발생했습니다 ... 0.67로 업그레이드하면 사라졌습니다.


@kibbz : 욕망 문제를 해결 하므로이 답변을 수락 된대로 만들 수 있습니다.
Sumit Ramteke
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.