Доброго времени суток. Гуглил мою проблему но решение не нашел.
Установил сначала Ubuntu Server 17.10 на Virtual Box. обновил, SSH сервер установил.
Запустил Kitty\Putty\JuiceSSH(Android) все заработало сразу конфиг SSH вообще не трогал.
Все тоже самое сделал на физическом сервере. Не пускает при заведомо верном пароле.
конфиг буква в букву совпадает. Почти все строки закомментированы в нем. Как так может быть?
Конфиг SSH
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.
# Site-wide defaults for some commonly used options. For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.
Host *
# ForwardAgent no
# ForwardX11 no
# ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# IdentityFile ~/.ssh/id_ecdsa
# IdentityFile ~/.ssh/id_ed25519
# Port 22
# Protocol 2
# Cipher 3des
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
# VisualHostKey no
# ProxyCommand ssh -q -W %h:%p gateway.example.com
# RekeyLimit 1G 1h
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
Лог PuTTY
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.02.20 22:24:54 =~=~=~=~=~=~=~=~=~=~=~=
Event Log: Writing new session log (SSH packets mode) to file: putty.log
Event Log: Connecting to 10.10.10.100 port 22
Event Log: We claim version: SSH-2.0-PuTTY_KiTTY
Event Log: Server version: SSH-2.0-dropbear_2016.74
Event Log: Using SSH protocol version 2
Outgoing packet #0x0, type 20 / 0x14 (SSH2_MSG_KEXINIT)
00000000 0c ab f3 bb 97 66 9e be 03 ee 28 c1 67 0c 23 9f .....f....(.g.#.
00000010 00 00 00 f0 63 75 72 76 65 32 35 35 31 39 2d 73 ....curve25519-s
00000020 68 61 32 35 36 40 6c 69 62 73 73 68 2e 6f 72 67 ha256@libssh.org
00000030 2c 65 63 64 68 2d 73 68 61 32 2d 6e 69 73 74 70 ,ecdh-sha2-nistp
00000040 32 35 36 2c 65 63 64 68 2d 73 68 61 32 2d 6e 69 256,ecdh-sha2-ni
00000050 73 74 70 33 38 34 2c 65 63 64 68 2d 73 68 61 32 stp384,ecdh-sha2
00000060 2d 6e 69 73 74 70 35 32 31 2c 64 69 66 66 69 65 -nistp521,diffie
00000070 2d 68 65 6c 6c 6d 61 6e 2d 67 72 6f 75 70 2d 65 -hellman-group-e
00000080 78 63 68 61 6e 67 65 2d 73 68 61 32 35 36 2c 64 xchange-sha256,d
00000090 69 66 66 69 65 2d 68 65 6c 6c 6d 61 6e 2d 67 72 iffie-hellman-gr
000000a0 6f 75 70 2d 65 78 63 68 61 6e 67 65 2d 73 68 61 oup-exchange-sha
000000b0 31 2c 64 69 66 66 69 65 2d 68 65 6c 6c 6d 61 6e 1,diffie-hellman
000000c0 2d 67 72 6f 75 70 31 34 2d 73 68 61 31 2c 72 73 -group14-sha1,rs
000000d0 61 32 30 34 38 2d 73 68 61 32 35 36 2c 72 73 61 a2048-sha256,rsa
000000e0 31 30 32 34 2d 73 68 61 31 2c 64 69 66 66 69 65 1024-sha1,diffie
000000f0 2d 68 65 6c 6c 6d 61 6e 2d 67 72 6f 75 70 31 2d -hellman-group1-
00000100 73 68 61 31 00 00 00 57 73 73 68 2d 72 73 61 2c sha1...Wssh-rsa,
00000110 73 73 68 2d 65 64 32 35 35 31 39 2c 65 63 64 73 ssh-ed25519,ecds
00000120 61 2d 73 68 61 32 2d 6e 69 73 74 70 32 35 36 2c a-sha2-nistp256,
00000130 65 63 64 73 61 2d 73 68 61 32 2d 6e 69 73 74 70 ecdsa-sha2-nistp
00000140 33 38 34 2c 65 63 64 73 61 2d 73 68 61 32 2d 6e 384,ecdsa-sha2-n
00000150 69 73 74 70 35 32 31 2c 73 73 68 2d 64 73 73 00 istp521,ssh-dss.
00000160 00 00 bd 61 65 73 32 35 36 2d 63 74 72 2c 61 65 ...aes256-ctr,ae
00000170 73 32 35 36 2d 63 62 63 2c 72 69 6a 6e 64 61 65 s256-cbc,rijndae
00000180 6c 2d 63 62 63 40 6c 79 73 61 74 6f 72 2e 6c 69 l-cbc@lysator.li
00000190 75 2e 73 65 2c 61 65 73 31 39 32 2d 63 74 72 2c u.se,aes192-ctr,
000001a0 61 65 73 31 39 32 2d 63 62 63 2c 61 65 73 31 32 aes192-cbc,aes12
000001b0 38 2d 63 74 72 2c 61 65 73 31 32 38 2d 63 62 63 8-ctr,aes128-cbc
000001c0 2c 63 68 61 63 68 61 32 30 2d 70 6f 6c 79 31 33 ,chacha20-poly13
000001d0 30 35 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 62 05@openssh.com,b
000001e0 6c 6f 77 66 69 73 68 2d 63 74 72 2c 62 6c 6f 77 lowfish-ctr,blow
000001f0 66 69 73 68 2d 63 62 63 2c 33 64 65 73 2d 63 74 fish-cbc,3des-ct
00000200 72 2c 33 64 65 73 2d 63 62 63 2c 61 72 63 66 6f r,3des-cbc,arcfo
00000210 75 72 32 35 36 2c 61 72 63 66 6f 75 72 31 32 38 ur256,arcfour128
00000220 00 00 00 bd 61 65 73 32 35 36 2d 63 74 72 2c 61 ....aes256-ctr,a
00000230 65 73 32 35 36 2d 63 62 63 2c 72 69 6a 6e 64 61 es256-cbc,rijnda
00000240 65 6c 2d 63 62 63 40 6c 79 73 61 74 6f 72 2e 6c el-cbc@lysator.l
00000250 69 75 2e 73 65 2c 61 65 73 31 39 32 2d 63 74 72 iu.se,aes192-ctr
00000260 2c 61 65 73 31 39 32 2d 63 62 63 2c 61 65 73 31 ,aes192-cbc,aes1
00000270 32 38 2d 63 74 72 2c 61 65 73 31 32 38 2d 63 62 28-ctr,aes128-cb
00000280 63 2c 63 68 61 63 68 61 32 30 2d 70 6f 6c 79 31 c,chacha20-poly1
00000290 33 30 35 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 305@openssh.com,
000002a0 62 6c 6f 77 66 69 73 68 2d 63 74 72 2c 62 6c 6f blowfish-ctr,blo
000002b0 77 66 69 73 68 2d 63 62 63 2c 33 64 65 73 2d 63 wfish-cbc,3des-c
000002c0 74 72 2c 33 64 65 73 2d 63 62 63 2c 61 72 63 66 tr,3des-cbc,arcf
000002d0 6f 75 72 32 35 36 2c 61 72 63 66 6f 75 72 31 32 our256,arcfour12
000002e0 38 00 00 00 9b 68 6d 61 63 2d 73 68 61 32 2d 32 8....hmac-sha2-2
000002f0 35 36 2c 68 6d 61 63 2d 73 68 61 31 2c 68 6d 61 56,hmac-sha1,hma
00000300 63 2d 73 68 61 31 2d 39 36 2c 68 6d 61 63 2d 6d c-sha1-96,hmac-m
00000310 64 35 2c 68 6d 61 63 2d 73 68 61 32 2d 32 35 36 d5,hmac-sha2-256
00000320 2d 65 74 6d 40 6f 70 65 6e 73 73 68 2e 63 6f 6d -etm@openssh.com
00000330 2c 68 6d 61 63 2d 73 68 61 31 2d 65 74 6d 40 6f ,hmac-sha1-etm@o
00000340 70 65 6e 73 73 68 2e 63 6f 6d 2c 68 6d 61 63 2d penssh.com,hmac-
00000350 73 68 61 31 2d 39 36 2d 65 74 6d 40 6f 70 65 6e sha1-96-etm@open
00000360 73 73 68 2e 63 6f 6d 2c 68 6d 61 63 2d 6d 64 35 ssh.com,hmac-md5
00000370 2d 65 74 6d 40 6f 70 65 6e 73 73 68 2e 63 6f 6d -etm@openssh.com
00000380 00 00 00 9b 68 6d 61 63 2d 73 68 61 32 2d 32 35 ....hmac-sha2-25
00000390 36 2c 68 6d 61 63 2d 73 68 61 31 2c 68 6d 61 63 6,hmac-sha1,hmac
000003a0 2d 73 68 61 31 2d 39 36 2c 68 6d 61 63 2d 6d 64 -sha1-96,hmac-md
000003b0 35 2c 68 6d 61 63 2d 73 68 61 32 2d 32 35 36 2d 5,hmac-sha2-256-
000003c0 65 74 6d 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c etm@openssh.com,
000003d0 68 6d 61 63 2d 73 68 61 31 2d 65 74 6d 40 6f 70 hmac-sha1-etm@op
000003e0 65 6e 73 73 68 2e 63 6f 6d 2c 68 6d 61 63 2d 73 enssh.com,hmac-s
000003f0 68 61 31 2d 39 36 2d 65 74 6d 40 6f 70 65 6e 73 ha1-96-etm@opens
00000400 73 68 2e 63 6f 6d 2c 68 6d 61 63 2d 6d 64 35 2d sh.com,hmac-md5-
00000410 65 74 6d 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 00 etm@openssh.com.
00000420 00 00 09 6e 6f 6e 65 2c 7a 6c 69 62 00 00 00 09 ...none,zlib....
00000430 6e 6f 6e 65 2c 7a 6c 69 62 00 00 00 00 00 00 00 none,zlib.......
00000440 00 00 00 00 00 00 ......
Incoming packet #0x0, type 20 / 0x14 (SSH2_MSG_KEXINIT)
00000000 98 c5 98 b2 5d ac a2 f6 51 f0 d4 5e c1 1f da 37 ....]...Q..^...7
00000010 00 00 00 a6 63 75 72 76 65 32 35 35 31 39 2d 73 ....curve25519-s
00000020 68 61 32 35 36 40 6c 69 62 73 73 68 2e 6f 72 67 ha256@libssh.org
00000030 2c 65 63 64 68 2d 73 68 61 32 2d 6e 69 73 74 70 ,ecdh-sha2-nistp
00000040 35 32 31 2c 65 63 64 68 2d 73 68 61 32 2d 6e 69 521,ecdh-sha2-ni
00000050 73 74 70 33 38 34 2c 65 63 64 68 2d 73 68 61 32 stp384,ecdh-sha2
00000060 2d 6e 69 73 74 70 32 35 36 2c 64 69 66 66 69 65 -nistp256,diffie
00000070 2d 68 65 6c 6c 6d 61 6e 2d 67 72 6f 75 70 31 34 -hellman-group14
00000080 2d 73 68 61 31 2c 64 69 66 66 69 65 2d 68 65 6c -sha1,diffie-hel
00000090 6c 6d 61 6e 2d 67 72 6f 75 70 31 2d 73 68 61 31 lman-group1-sha1
000000a0 2c 6b 65 78 67 75 65 73 73 32 40 6d 61 74 74 2e ,kexguess2@matt.
000000b0 75 63 63 2e 61 73 6e 2e 61 75 00 00 00 0f 73 73 ucc.asn.au....ss
000000c0 68 2d 72 73 61 2c 73 73 68 2d 64 73 73 00 00 00 h-rsa,ssh-dss...
000000d0 15 61 65 73 31 32 38 2d 63 74 72 2c 61 65 73 32 .aes128-ctr,aes2
000000e0 35 36 2d 63 74 72 00 00 00 15 61 65 73 31 32 38 56-ctr....aes128
000000f0 2d 63 74 72 2c 61 65 73 32 35 36 2d 63 74 72 00 -ctr,aes256-ctr.
00000100 00 00 32 68 6d 61 63 2d 73 68 61 31 2d 39 36 2c ..2hmac-sha1-96,
00000110 68 6d 61 63 2d 73 68 61 31 2c 68 6d 61 63 2d 73 hmac-sha1,hmac-s
00000120 68 61 32 2d 32 35 36 2c 68 6d 61 63 2d 73 68 61 ha2-256,hmac-sha
00000130 32 2d 35 31 32 00 00 00 32 68 6d 61 63 2d 73 68 2-512...2hmac-sh
00000140 61 31 2d 39 36 2c 68 6d 61 63 2d 73 68 61 31 2c a1-96,hmac-sha1,
00000150 68 6d 61 63 2d 73 68 61 32 2d 32 35 36 2c 68 6d hmac-sha2-256,hm
00000160 61 63 2d 73 68 61 32 2d 35 31 32 00 00 00 15 7a ac-sha2-512....z
00000170 6c 69 62 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c lib@openssh.com,
00000180 6e 6f 6e 65 00 00 00 15 7a 6c 69 62 40 6f 70 65 none....zlib@ope
00000190 6e 73 73 68 2e 63 6f 6d 2c 6e 6f 6e 65 00 00 00 nssh.com,none...
000001a0 00 00 00 00 00 00 00 00 00 00 ..........
Event Log: Doing ECDH key exchange with curve Curve25519 and hash SHA-256
Outgoing packet #0x1, type 30 / 0x1e (SSH2_MSG_KEX_ECDH_INIT)
00000000 00 00 00 20 a9 aa 37 67 3f c3 42 af 5a 76 5b 98 ... ..7g?.B.Zv[.
00000010 e5 1b 78 ea 25 3a 35 a2 62 5b 2b 3c 4e e1 e0 ac ..x.%:5.b[+<N...
00000020 46 e3 82 6e F..n
Incoming packet #0x1, type 31 / 0x1f (SSH2_MSG_KEX_ECDH_REPLY)
00000000 00 00 01 17 00 00 00 07 73 73 68 2d 72 73 61 00 ........ssh-rsa.
00000010 00 00 03 01 00 01 00 00 01 01 00 bf e1 09 97 1e ................
00000020 7d a2 1c 2b 85 d6 b8 96 8e 4a a7 27 41 e9 d9 c9 }..+.....J.'A...
00000030 fa dd 14 05 5f d2 23 4f 0f d6 b7 c1 6f 0a 0c 69 ...._.#O....o..i
00000040 db 9d 69 22 74 b7 6a 22 b0 59 dc f4 4b 5d 1f 41 ..i"t.j".Y..K].A
00000050 43 95 0c 90 8c 45 56 df f7 4d 2b 1e a1 6d b4 3d C....EV..M+..m.=
00000060 ea 18 0a b4 6d b9 f8 fc 4a 43 ec f7 92 b1 5d f0 ....m...JC....].
00000070 c1 76 36 66 95 e9 f9 12 22 eb b6 eb af c9 73 db .v6f....".....s.
00000080 9c 64 b5 f7 dc ab 04 0d 89 65 db 9f 1a ae a9 ea .d.......e......
00000090 0b fb 4b b9 6a 5a 06 4f 98 a1 0f fc ce ca 0d 81 ..K.jZ.O........
000000a0 7c f7 2e 9b 68 fd 87 0c e2 cb 0a 4b f4 3a c0 a4 |...h......K.:..
000000b0 0a 67 c0 84 ad 5c bb 86 df 1b 05 2a 30 90 b1 cd .g...\.....*0...
000000c0 d4 32 8e 6e cb 4f 6d 6e 01 ef 86 13 39 ca c0 2b .2.n.Omn....9..+
000000d0 53 12 d0 f7 cc 35 72 79 a4 04 54 47 3d 6b 8f ed S....5ry..TG=k..
000000e0 b6 61 07 ce 7b c5 e9 c3 b9 26 5d 82 1d e8 c8 17 .a..{....&].....
000000f0 d9 45 22 b9 7e 0c 17 a8 84 0b 5f 0a c2 cd 80 2f .E".~....._..../
00000100 1d aa 08 f3 7a af 62 58 31 9e 10 7e 67 dc 1a 54 ....z.bX1..~g..T
00000110 28 db 54 4b f7 4e da 09 20 a0 07 00 00 00 20 20 (.TK.N.. .....
00000120 48 9d a1 cd 9a 65 86 fa 01 8e 53 2c b0 6d fb 02 H....e....S,.m..
00000130 6a 3b f6 f9 d9 5c 56 80 d6 4a 77 26 78 2d 54 00 j;...\V..Jw&x-T.
00000140 00 01 0f 00 00 00 07 73 73 68 2d 72 73 61 00 00 .......ssh-rsa..
00000150 01 00 69 cc 51 c4 69 32 70 3d 07 cb b4 bc 50 ac ..i.Q.i2p=....P.
00000160 6c c8 a8 db 4e f8 d3 be af f0 0d c6 74 8d 8e 8e l...N.......t...
00000170 a7 f2 4d 5f 7a 3f df 32 34 8a 8c 53 8e 9e 5a 20 ..M_z?.24..S..Z
00000180 17 ee bc e4 20 7a 47 bd eb 88 2e 76 63 ef f8 39 .... zG....vc..9
00000190 ec 16 d5 9f ed 6d 35 57 e9 e8 ba fe 89 69 04 5a .....m5W.....i.Z
000001a0 74 61 d5 f0 54 46 95 7d af 77 6c 0d 7a aa 80 8a ta..TF.}.wl.z...
000001b0 57 f8 78 f0 03 15 7b 46 7b 31 69 06 a8 56 64 8d W.x...{F{1i..Vd.
000001c0 79 ee 4f 0b 6a 3a 1d 22 53 f9 5c a5 80 c6 83 13 y.O.j:."S.\.....
000001d0 e4 09 08 97 97 f8 18 7f e7 63 81 42 38 d9 d3 0b .........c.B8...
000001e0 4f 7d 0c a8 45 49 7a f2 47 5a bc ac 3d d6 6c 9d O}..EIz.GZ..=.l.
000001f0 00 61 88 e5 9f e8 f1 b8 86 80 d6 75 e7 28 f8 83 .a.........u.(..
00000200 67 a8 09 4d 96 e4 2a c0 c1 a4 26 b2 dd 1a b9 ea g..M..*...&.....
00000210 b9 92 08 e2 05 c0 0b c6 9f 2e 77 7b 04 a3 27 ae ..........w{..'.
00000220 4d 5f db 93 cf f3 fd c2 af 81 2e b6 a9 6f 1d 8f M_...........o..
00000230 43 af f9 f0 db 35 a7 b2 12 39 a1 ad 04 2d 28 aa C....5...9...-(.
00000240 a7 6e 16 a7 b2 df 9e f1 8e 98 80 f4 2c 29 60 d3 .n..........,)`.
00000250 dc 7e .~
Event Log: Server also has ssh-dss host key, but we don't know it
Event Log: Host key fingerprint is:
Event Log: ssh-rsa 2048 ae:66:67:eb:92:02:8d:0b:70:0a:2a:d6:17:fb:1b:e4
Outgoing packet #0x2, type 21 / 0x15 (SSH2_MSG_NEWKEYS)
Event Log: Initialised AES-256 SDCTR client->server encryption
Event Log: Initialised HMAC-SHA-256 client->server MAC algorithm
Incoming packet #0x2, type 21 / 0x15 (SSH2_MSG_NEWKEYS)
Event Log: Initialised AES-256 SDCTR server->client encryption
Event Log: Initialised HMAC-SHA-256 server->client MAC algorithm
Outgoing packet #0x3, type 5 / 0x05 (SSH2_MSG_SERVICE_REQUEST)
00000000 00 00 00 0c 73 73 68 2d 75 73 65 72 61 75 74 68 ....ssh-userauth
Incoming packet #0x3, type 6 / 0x06 (SSH2_MSG_SERVICE_ACCEPT)
00000000 00 00 00 0c 73 73 68 2d 75 73 65 72 61 75 74 68 ....ssh-userauth
Outgoing packet #0x4, type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
00000000 00 00 00 05 73 75 7a 65 72 00 00 00 0e 73 73 68 ....suzer....ssh
00000010 2d 63 6f 6e 6e 65 63 74 69 6f 6e 00 00 00 04 6e -connection....n
00000020 6f 6e 65 one
Incoming packet #0x4, type 51 / 0x33 (SSH2_MSG_USERAUTH_FAILURE)
00000000 00 00 00 12 70 75 62 6c 69 63 6b 65 79 2c 70 61 ....publickey,pa
00000010 73 73 77 6f 72 64 00 ssword.
Outgoing packet #0x5, type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
00000000 00 00 00 05 73 75 7a 65 72 00 00 00 0e 73 73 68 ....suzer....ssh
00000010 2d 63 6f 6e 6e 65 63 74 69 6f 6e 00 00 00 08 70 -connection....p
00000020 61 73 73 77 6f 72 64 00 XX XX XX XX XX XX XX XX assword.XXXXXXXX
00000030 XX XX XX XX XX XX XXXXXX
Outgoing packet #0x6, type 2 / 0x02 (SSH2_MSG_IGNORE)
00000000 00 00 00 a0 9a 6b dc 96 ec cc d7 1a 99 a2 dd 0e .....k..........
00000010 70 fe de 80 00 a1 f2 25 f5 84 5d ee 41 bb 69 2c p......%..].A.i,
00000020 65 df f8 15 0b 1b a2 c0 ee 06 38 9e 16 55 14 67 e.........8..U.g
00000030 41 d1 f9 e6 64 a8 74 d1 d3 23 cf 7a 79 4d bc a7 A...d.t..#.zyM..
00000040 4d 9f 90 89 5f 52 1e e6 d9 29 c5 57 fe ef 80 2d M..._R...).W...-
00000050 9b 3d 0b 27 0f 2f 59 ef de 61 c0 1a 39 d3 5b 51 .=.'./Y..a..9.[Q
00000060 c0 0e da 19 65 01 23 39 35 86 f5 0f 67 56 58 35 ....e.#95...gVX5
00000070 7c 63 b5 2a 49 40 d4 f2 65 29 1c 2c 7b 12 60 47 |c.*I@..e).,{.`G
00000080 15 73 3a 45 55 7f 70 0e 0e d5 6c 6a df 9f e1 86 .s:EU.p...lj....
00000090 b0 2d f5 56 a4 81 ac e1 66 fe 3e 57 68 f4 39 9c .-.V....f.>Wh.9.
000000a0 0c c2 54 09 ..T.
Event Log: Sent password
Incoming packet #0x5, type 51 / 0x33 (SSH2_MSG_USERAUTH_FAILURE)
00000000 00 00 00 12 70 75 62 6c 69 63 6b 65 79 2c 70 61 ....publickey,pa
00000010 73 73 77 6f 72 64 00 ssword.
Event Log: Password authentication failed
Event Log: Server also has ssh-dss host key, but we don't know it - что с ним делать не понимаю.