Setting up SSH With PuTTY> "Server refused our key"

William Miceli

Dabbler
Joined
Jan 24, 2018
Messages
18
Hello!

Hopefully I'm just missing something simple, but I'm out of ideas and search results...

Screenshot of error:
PuTTY SC.png


Using PuTTYGen, I created my keys...
Put my Public key into my FreeNAS account (Through the GUI)...
Checked that the dataset that my user homes are in are using UNIX permissions...

UNIX Permissions.png


Checked that the permissions of the .ssh directory and authorized_keys file were correct (from what I've read)

File Permissions.png


Anything else I might be missing?

Thank you in advance!
 

William Miceli

Dabbler
Joined
Jan 24, 2018
Messages
18
Trying three times (just to make it noticable) today, nothing is output to the log using "tail -f /var/log/messages" as described in the Documentation.

Log.png


Also nothing found in /var/log/auth.log either:

auth.log.png
 

dknm

Dabbler
Joined
Aug 27, 2018
Messages
25
What's the output of the putty event log ?

And can you double check the public key is assigned to the user William (as opposed to the Freenas account - which would be root // may be a misunderstanding on my part).

I used ssh-keygen for mine, but had no issues with putty once I copied the private key over.
 

William Miceli

Dabbler
Joined
Jan 24, 2018
Messages
18
Code:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2019.02.14 12:28:42 =~=~=~=~=~=~=~=~=~=~=~=
Event Log: Writing new session log (SSH packets mode) to file: C:\Users\William Miceli\Desktop\putty_ssh-packets.log
Event Log: Connecting to 10.0.1.1 port 22
Event Log: We claim version: SSH-2.0-PuTTY_Release_0.70
Event Log: Server version: SSH-2.0-OpenSSH_7.5-hpn14v5
Event Log: Using SSH protocol version 2
Outgoing packet #0x0, type 20 / 0x14 (SSH2_MSG_KEXINIT)
  00000000  f1 91 59 2c 44 c7 f2 57 4f 11 40 9c ad 0a d6 4b  ..Y,D..WO.@....K
  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 65 64 32 35  sha1...Wssh-ed25
  00000110  35 31 39 2c 65 63 64 73 61 2d 73 68 61 32 2d 6e  519,ecdsa-sha2-n
  00000120  69 73 74 70 32 35 36 2c 65 63 64 73 61 2d 73 68  istp256,ecdsa-sh
  00000130  61 32 2d 6e 69 73 74 70 33 38 34 2c 65 63 64 73  a2-nistp384,ecds
  00000140  61 2d 73 68 61 32 2d 6e 69 73 74 70 35 32 31 2c  a-sha2-nistp521,
  00000150  73 73 68 2d 72 73 61 2c 73 73 68 2d 64 73 73 00  ssh-rsa,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  d1 97 d3 33 02 24 b5 6f f4 79 de 07 19 08 da d1  ...3.$.o.y......
  00000010  00 00 01 02 63 75 72 76 65 32 35 35 31 39 2d 73  ....curve25519-s
  00000020  68 61 32 35 36 2c 63 75 72 76 65 32 35 35 31 39  ha256,curve25519
  00000030  2d 73 68 61 32 35 36 40 6c 69 62 73 73 68 2e 6f  -sha256@libssh.o
  00000040  72 67 2c 65 63 64 68 2d 73 68 61 32 2d 6e 69 73  rg,ecdh-sha2-nis
  00000050  74 70 32 35 36 2c 65 63 64 68 2d 73 68 61 32 2d  tp256,ecdh-sha2-
  00000060  6e 69 73 74 70 33 38 34 2c 65 63 64 68 2d 73 68  nistp384,ecdh-sh
  00000070  61 32 2d 6e 69 73 74 70 35 32 31 2c 64 69 66 66  a2-nistp521,diff
  00000080  69 65 2d 68 65 6c 6c 6d 61 6e 2d 67 72 6f 75 70  ie-hellman-group
  00000090  2d 65 78 63 68 61 6e 67 65 2d 73 68 61 32 35 36  -exchange-sha256
  000000a0  2c 64 69 66 66 69 65 2d 68 65 6c 6c 6d 61 6e 2d  ,diffie-hellman-
  000000b0  67 72 6f 75 70 31 36 2d 73 68 61 35 31 32 2c 64  group16-sha512,d
  000000c0  69 66 66 69 65 2d 68 65 6c 6c 6d 61 6e 2d 67 72  iffie-hellman-gr
  000000d0  6f 75 70 31 38 2d 73 68 61 35 31 32 2c 64 69 66  oup18-sha512,dif
  000000e0  66 69 65 2d 68 65 6c 6c 6d 61 6e 2d 67 72 6f 75  fie-hellman-grou
  000000f0  70 31 34 2d 73 68 61 32 35 36 2c 64 69 66 66 69  p14-sha256,diffi
  00000100  65 2d 68 65 6c 6c 6d 61 6e 2d 67 72 6f 75 70 31  e-hellman-group1
  00000110  34 2d 73 68 61 31 00 00 00 41 73 73 68 2d 72 73  4-sha1...Assh-rs
  00000120  61 2c 72 73 61 2d 73 68 61 32 2d 35 31 32 2c 72  a,rsa-sha2-512,r
  00000130  73 61 2d 73 68 61 32 2d 32 35 36 2c 65 63 64 73  sa-sha2-256,ecds
  00000140  61 2d 73 68 61 32 2d 6e 69 73 74 70 32 35 36 2c  a-sha2-nistp256,
  00000150  73 73 68 2d 65 64 32 35 35 31 39 00 00 00 7c 63  ssh-ed25519...|c
  00000160  68 61 63 68 61 32 30 2d 70 6f 6c 79 31 33 30 35  hacha20-poly1305
  00000170  40 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 61 65 73  @openssh.com,aes
  00000180  31 32 38 2d 63 74 72 2c 61 65 73 31 39 32 2d 63  128-ctr,aes192-c
  00000190  74 72 2c 61 65 73 32 35 36 2d 63 74 72 2c 61 65  tr,aes256-ctr,ae
  000001a0  73 31 32 38 2d 67 63 6d 40 6f 70 65 6e 73 73 68  s128-gcm@openssh
  000001b0  2e 63 6f 6d 2c 61 65 73 32 35 36 2d 67 63 6d 40  .com,aes256-gcm@
  000001c0  6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 61 65 73 31  openssh.com,aes1
  000001d0  32 38 2d 63 62 63 2c 6e 6f 6e 65 00 00 00 7c 63  28-cbc,none...|c
  000001e0  68 61 63 68 61 32 30 2d 70 6f 6c 79 31 33 30 35  hacha20-poly1305
  000001f0  40 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 61 65 73  @openssh.com,aes
  00000200  31 32 38 2d 63 74 72 2c 61 65 73 31 39 32 2d 63  128-ctr,aes192-c
  00000210  74 72 2c 61 65 73 32 35 36 2d 63 74 72 2c 61 65  tr,aes256-ctr,ae
  00000220  73 31 32 38 2d 67 63 6d 40 6f 70 65 6e 73 73 68  s128-gcm@openssh
  00000230  2e 63 6f 6d 2c 61 65 73 32 35 36 2d 67 63 6d 40  .com,aes256-gcm@
  00000240  6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 61 65 73 31  openssh.com,aes1
  00000250  32 38 2d 63 62 63 2c 6e 6f 6e 65 00 00 00 d5 75  28-cbc,none....u
  00000260  6d 61 63 2d 36 34 2d 65 74 6d 40 6f 70 65 6e 73  mac-64-etm@opens
  00000270  73 68 2e 63 6f 6d 2c 75 6d 61 63 2d 31 32 38 2d  sh.com,umac-128-
  00000280  65 74 6d 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c  etm@openssh.com,
  00000290  68 6d 61 63 2d 73 68 61 32 2d 32 35 36 2d 65 74  hmac-sha2-256-et
  000002a0  6d 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 68 6d  m@openssh.com,hm
  000002b0  61 63 2d 73 68 61 32 2d 35 31 32 2d 65 74 6d 40  ac-sha2-512-etm@
  000002c0  6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 68 6d 61 63  openssh.com,hmac
  000002d0  2d 73 68 61 31 2d 65 74 6d 40 6f 70 65 6e 73 73  -sha1-etm@openss
  000002e0  68 2e 63 6f 6d 2c 75 6d 61 63 2d 36 34 40 6f 70  h.com,umac-64@op
  000002f0  65 6e 73 73 68 2e 63 6f 6d 2c 75 6d 61 63 2d 31  enssh.com,umac-1
  00000300  32 38 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 68  28@openssh.com,h
  00000310  6d 61 63 2d 73 68 61 32 2d 32 35 36 2c 68 6d 61  mac-sha2-256,hma
  00000320  63 2d 73 68 61 32 2d 35 31 32 2c 68 6d 61 63 2d  c-sha2-512,hmac-
  00000330  73 68 61 31 00 00 00 d5 75 6d 61 63 2d 36 34 2d  sha1....umac-64-
  00000340  65 74 6d 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c  etm@openssh.com,
  00000350  75 6d 61 63 2d 31 32 38 2d 65 74 6d 40 6f 70 65  umac-128-etm@ope
  00000360  6e 73 73 68 2e 63 6f 6d 2c 68 6d 61 63 2d 73 68  nssh.com,hmac-sh
  00000370  61 32 2d 32 35 36 2d 65 74 6d 40 6f 70 65 6e 73  a2-256-etm@opens
  00000380  73 68 2e 63 6f 6d 2c 68 6d 61 63 2d 73 68 61 32  sh.com,hmac-sha2
  00000390  2d 35 31 32 2d 65 74 6d 40 6f 70 65 6e 73 73 68  -512-etm@openssh
  000003a0  2e 63 6f 6d 2c 68 6d 61 63 2d 73 68 61 31 2d 65  .com,hmac-sha1-e
  000003b0  74 6d 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 2c 75  tm@openssh.com,u
  000003c0  6d 61 63 2d 36 34 40 6f 70 65 6e 73 73 68 2e 63  mac-64@openssh.c
  000003d0  6f 6d 2c 75 6d 61 63 2d 31 32 38 40 6f 70 65 6e  om,umac-128@open
  000003e0  73 73 68 2e 63 6f 6d 2c 68 6d 61 63 2d 73 68 61  ssh.com,hmac-sha
  000003f0  32 2d 32 35 36 2c 68 6d 61 63 2d 73 68 61 32 2d  2-256,hmac-sha2-
  00000400  35 31 32 2c 68 6d 61 63 2d 73 68 61 31 00 00 00  512,hmac-sha1...
  00000410  15 6e 6f 6e 65 2c 7a 6c 69 62 40 6f 70 65 6e 73  .none,zlib@opens
  00000420  73 68 2e 63 6f 6d 00 00 00 15 6e 6f 6e 65 2c 7a  sh.com....none,z
  00000430  6c 69 62 40 6f 70 65 6e 73 73 68 2e 63 6f 6d 00  lib@openssh.com.
  00000440  00 00 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 b4 ce d4 4b ba b4 75 bf 5c 61 a4 73  ... ...K..u.\a.s
  00000010  38 ba 35 30 60 b0 02 10 cf 2f 91 c0 24 7f 47 d0  8.50`..../..$.G.
  00000020  25 0d fe 0f                                      %...
Incoming packet #0x1, type 31 / 0x1f (SSH2_MSG_KEX_ECDH_REPLY)
  00000000  00 00 00 33 00 00 00 0b 73 73 68 2d 65 64 32 35  ...3....ssh-ed25
  00000010  35 31 39 00 00 00 20 c2 71 84 ec 90 7e fd 41 fd  519... .q...~.A.
  00000020  65 24 69 b6 ee 97 a9 96 52 81 19 da 5a 8b 34 77  e$i.....R...Z.4w
  00000030  b8 f7 b5 1e 7c ef a3 00 00 00 20 54 fc bf 8f 14  ....|..... T....
  00000040  3f 31 f2 9b f3 1e fe 96 3b 69 98 7c e6 85 5f 48  ?1......;i.|.._H
  00000050  cf bd f9 c9 a0 ea dc cf 64 46 4f 00 00 00 53 00  ........dFO...S.
  00000060  00 00 0b 73 73 68 2d 65 64 32 35 35 31 39 00 00  ...ssh-ed25519..
  00000070  00 40 7f 15 54 0b 53 d2 ea 85 5f 00 82 06 a0 57  .@..T.S..._....W
  00000080  51 cd a2 ca 77 0f 1c 23 8c e4 50 27 6d ce 18 7c  Q...w..#..P'm..|
  00000090  af c3 3f 56 aa 44 fd 92 42 34 0a 8e 12 17 3e aa  ..?V.D..B4....>.
  000000a0  3d 54 c1 a7 8b ff 51 2e 6d 60 52 9b f2 fe 49 d4  =T....Q.m`R...I.
  000000b0  14 00                                            ..
Event Log: Server also has ecdsa-sha2-nistp256/ssh-rsa host keys, but we don't know any of them
Event Log: Host key fingerprint is:
Event Log: ssh-ed25519 256 6a:48:a7:a3:11:fe:78:60:98:48:ef:b9:f0:cf:ab:45
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
Event Log: Reading key file "C:\Users\William Miceli\Desktop\PUTTY KEY PRIVATE-2048.ppk"
Outgoing packet #0x4, type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
  00000000  00 00 00 07 57 69 6c 6c 69 61 6d 00 00 00 0e 73  ....William....s
  00000010  73 68 2d 63 6f 6e 6e 65 63 74 69 6f 6e 00 00 00  sh-connection...
  00000020  04 6e 6f 6e 65                                   .none
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 07 57 69 6c 6c 69 61 6d 00 00 00 0e 73  ....William....s
  00000010  73 68 2d 63 6f 6e 6e 65 63 74 69 6f 6e 00 00 00  sh-connection...
  00000020  09 70 75 62 6c 69 63 6b 65 79 00 00 00 00 07 73  .publickey.....s
  00000030  73 68 2d 72 73 61 00 00 01 15 00 00 00 07 73 73  sh-rsa........ss
  00000040  68 2d 72 73 61 00 00 00 01 25 00 00 01 01 00 84  h-rsa....%......
  00000050  7f 38 a9 66 1d c6 19 c4 85 fa 38 40 d0 cf e9 11  .8.f......8@....
  00000060  bb 2e 3a c1 2e 87 e5 32 ac fd 7e d0 af 1e 8a 05  ..:....2..~.....
  00000070  a6 fa 7f 2f f6 05 e4 ac de 0f 77 7d b7 69 d0 bb  .../......w}.i..
  00000080  81 cc 55 cf 55 06 b9 0a 13 86 62 72 d5 ff 37 17  ..U.U.....br..7.
  00000090  7c 4f 3d 14 46 3a 74 7f 26 7a 21 5f 93 f5 04 44  |O=.F:t.&z!_...D
  000000a0  cd fc 03 21 c3 28 4f 0f 24 38 b5 ec 1f a4 42 62  ...!.(O.$8....Bb
  000000b0  d9 27 5e 49 f6 2e 5e 61 0b 24 d9 7f f8 6e 24 ef  .'^I..^a.$...n$.
  000000c0  71 0d e1 57 0b 78 bf f9 b2 f6 60 0f 10 2d dd c8  q..W.x....`..-..
  000000d0  27 4d 75 17 e9 cc 83 e4 95 e0 36 8b 8d 4c f7 70  'Mu.......6..L.p
  000000e0  77 99 4d 25 93 49 e1 7b df 70 39 c1 84 a7 79 ae  w.M%.I.{.p9...y.
  000000f0  25 5b ae 17 fd a2 1c 71 15 1d de 2a 2e a6 f9 8a  %[.....q...*....
  00000100  9a 95 72 ad 32 44 11 20 d7 d6 6e 6f 52 08 85 67  ..r.2D. ..noR..g
  00000110  33 29 9e 11 9e 7f 09 c9 90 c4 d2 ef 8a d4 37 b9  3)............7.
  00000120  47 b7 4b 11 f8 d9 ad a1 ec 19 1d 90 c6 d4 f8 f8  G.K.............
  00000130  88 1c 30 5c 7e eb 85 96 a3 11 36 2f f0 a5 81 89  ..0\~.....6/....
  00000140  7a 1f b4 21 c3 79 05 c4 0d 7f 4c ce 0e ef a5     z..!.y....L....
Event Log: Offered public key
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: Server refused our key


I copied the public key into my "William" FreeNAS account, and it is within my own user's home directory. I'm not sure how else to check otherwise.
 

William Miceli

Dabbler
Joined
Jan 24, 2018
Messages
18
Got it working...

Apparently copying what is output from putty-gen from the OpenSSH public key (which is slightly different than what it shows in the preview window) is insufficient.

Copying from the preview window instead makes it work...

Thank you for your help though @dknm !
 

William Miceli

Dabbler
Joined
Jan 24, 2018
Messages
18
Scratch that.

Apparently that isn't the only issue.
Sometimes it works, sometimes it doesn't.
Still trying different combinations, as it works with PuTTY, but I'm only using that for testing with. I'm trying to get it working with Apache Guacamole, and so it doesn't use PuTTY's .ppk format, but the other keys are being refused in Guacamole.
 

William Miceli

Dabbler
Joined
Jan 24, 2018
Messages
18
As a side-note, I was pretty sure I had tried the way that is now working with PuTTY previously, but I guess I must have missed something or forgot to save something. Not sure.
 
Top