Error open profile

Hi,

I have this error when open profile:

Equivalent Command: ssh -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes admin@44.197.208.164
04:41:24 Connecting…
04:41:24 Using Core Helper 6.0 (r3257)
04:41:24 Authenticating…
04:41:25 admin@44.197.208.164: Permission denied (publickey).
04:41:25 Abnormal Disconnect

Please let me know how can solve

Jose, please set debug level to DEBUG3 and pasted desensitized log, this will help me identify the problem.

Yang

## AWS-Elasticsearch ##
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
Equivalent Command: ssh -vvv -o ServerAliveInterval=15 -o ExitOnForwardFailure=yes -o ServerAliveCountMax=3 admin@44.197.208.164
13:05:49 Connecting…
13:05:49 Using Core Helper 6.0 (r3257)
13:05:49 OpenSSH_8.4p1, OpenSSL 1.1.1h 22 Sep 2020
13:05:49 debug1: Reading configuration data /etc/ssh/ssh_config
13:05:49 debug1: /etc/ssh/ssh_config line 47: Applying options for *
13:05:49 debug2: resolve_canonicalize: hostname 44.197.208.164 is address
13:05:49 debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/ja/.ssh/known_hosts'
13:05:49 debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/ja/.ssh/known_hosts2'
13:05:49 debug2: ssh_connect_direct
13:05:49 debug1: Connecting to 44.197.208.164 [44.197.208.164] port 22.
13:05:49 debug1: Connection established.
13:05:49 debug1: identity file /Users/ja/.ssh/id_rsa type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_rsa-cert type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_dsa type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_dsa-cert type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_ecdsa type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_ecdsa-cert type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_ecdsa_sk type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_ecdsa_sk-cert type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_ed25519 type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_ed25519-cert type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_ed25519_sk type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_ed25519_sk-cert type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_xmss type -1
13:05:49 debug1: identity file /Users/ja/.ssh/id_xmss-cert type -1
13:05:49 debug1: Local version string SSH-2.0-OpenSSH_8.4
13:05:49 debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4p1 Debian-10+deb9u6
13:05:49 debug1: match: OpenSSH_7.4p1 Debian-10+deb9u6 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002
13:05:49 debug2: fd 3 setting O_NONBLOCK
13:05:49 debug1: Authenticating to 44.197.208.164:22 as 'admin'
13:05:49 debug3: hostkeys_foreach: reading file "/Users/ja/.ssh/known_hosts"
13:05:49 Authenticating…
13:05:49 debug3: record_hostkey: found key type ECDSA in file /Users/ja/.ssh/known_hosts:33
13:05:49 debug3: load_hostkeys: loaded 1 keys from 44.197.208.164
13:05:49 debug3: order_hostkeyalgs: have matching best-preference key type ecdsa-sha2-nistp256-cert-v01@openssh.com, using HostkeyAlgorithms verbatim
13:05:49 debug3: send packet: type 20
13:05:49 debug1: SSH2_MSG_KEXINIT sent
13:05:49 debug3: receive packet: type 20
13:05:49 debug1: SSH2_MSG_KEXINIT received
13:05:49 debug2: local client KEXINIT proposal
13:05:49 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-group14-sha256,ext-info-c
13:05:49 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,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa
13:05:49 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
13:05:49 debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
13:05:49 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
13:05:49 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
13:05:49 debug2: compression ctos: none,zlib@openssh.com,zlib
13:05:49 debug2: compression stoc: none,zlib@openssh.com,zlib
13:05:49 debug2: languages ctos:
13:05:49 debug2: languages stoc:
13:05:49 debug2: first_kex_follows 0
13:05:49 debug2: reserved 0
13:05:49 debug2: peer server KEXINIT proposal
13:05:49 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-group14-sha256,diffie-hellman-group14-sha1
13:05:49 debug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
13:05:49 debug2: ciphers ctos: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se
13:05:49 debug2: ciphers stoc: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se
13:05:49 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
13:05:49 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
13:05:49 debug2: compression ctos: none,zlib@openssh.com
13:05:49 debug2: compression stoc: none,zlib@openssh.com
13:05:49 debug2: languages ctos:
13:05:49 debug2: languages stoc:
13:05:49 debug2: first_kex_follows 0
13:05:49 debug2: reserved 0
13:05:49 debug1: kex: algorithm: curve25519-sha256
13:05:49 debug1: kex: host key algorithm: ecdsa-sha2-nistp256
13:05:49 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
13:05:49 debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
13:05:49 debug3: send packet: type 30
13:05:49 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
13:05:49 debug3: receive packet: type 31
13:05:49 debug1: Server host key: ecdsa-sha2-nistp256 SHA256:Fvv1+wqG2FQQ0jr9UPRtbLtwQnUaeiveIHFtLnKPIjs
13:05:49 debug3: hostkeys_foreach: reading file "/Users/ja/.ssh/known_hosts"
13:05:49 debug3: record_hostkey: found key type ECDSA in file /Users/ja/.ssh/known_hosts:33
13:05:49 debug3: load_hostkeys: loaded 1 keys from 44.197.208.164
13:05:49 debug1: Host '44.197.208.164' is known and matches the ECDSA host key.
13:05:49 debug1: Found key in /Users/ja/.ssh/known_hosts:33
13:05:49 debug3: send packet: type 21
13:05:49 debug2: set_newkeys: mode 1
13:05:49 debug1: rekey out after 134217728 blocks
13:05:49 debug1: SSH2_MSG_NEWKEYS sent
13:05:49 debug1: expecting SSH2_MSG_NEWKEYS
13:05:49 debug3: receive packet: type 21
13:05:49 debug1: SSH2_MSG_NEWKEYS received
13:05:49 debug2: set_newkeys: mode 0
13:05:49 debug1: rekey in after 134217728 blocks
13:05:49 debug1: Will attempt key: /Users/ja/.ssh/id_rsa
13:05:49 debug1: Will attempt key: /Users/ja/.ssh/id_dsa
13:05:49 debug1: Will attempt key: /Users/ja/.ssh/id_ecdsa
13:05:49 debug1: Will attempt key: /Users/ja/.ssh/id_ecdsa_sk
13:05:49 debug1: Will attempt key: /Users/ja/.ssh/id_ed25519
13:05:49 debug1: Will attempt key: /Users/ja/.ssh/id_ed25519_sk
13:05:49 debug1: Will attempt key: /Users/ja/.ssh/id_xmss
13:05:49 debug2: pubkey_prepare: done
13:05:49 debug3: send packet: type 5
13:05:49 debug3: receive packet: type 7
13:05:49 debug1: SSH2_MSG_EXT_INFO received
13:05:49 debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
13:05:49 debug3: receive packet: type 6
13:05:49 debug2: service_accept: ssh-userauth
13:05:49 debug1: SSH2_MSG_SERVICE_ACCEPT received
13:05:49 debug3: send packet: type 50
13:05:49 debug3: receive packet: type 51
13:05:49 debug1: Authentications that can continue: publickey
13:05:49 debug3: start over, passed a different list publickey
13:05:49 debug3: preferred publickey,keyboard-interactive,password
13:05:49 debug3: authmethod_lookup publickey
13:05:49 debug3: remaining preferred: keyboard-interactive,password
13:05:49 debug3: authmethod_is_enabled publickey
13:05:49 debug1: Next authentication method: publickey
13:05:49 debug1: Trying private key: /Users/ja/.ssh/id_rsa
13:05:49 debug3: no such identity: /Users/ja/.ssh/id_rsa: No such file or directory
13:05:49 debug1: Trying private key: /Users/ja/.ssh/id_dsa
13:05:49 debug3: no such identity: /Users/ja/.ssh/id_dsa: No such file or directory
13:05:49 debug1: Trying private key: /Users/ja/.ssh/id_ecdsa
13:05:49 debug3: no such identity: /Users/ja/.ssh/id_ecdsa: No such file or directory
13:05:49 debug1: Trying private key: /Users/ja/.ssh/id_ecdsa_sk
13:05:49 debug3: no such identity: /Users/ja/.ssh/id_ecdsa_sk: No such file or directory
13:05:49 debug1: Trying private key: /Users/ja/.ssh/id_ed25519
13:05:49 debug3: no such identity: /Users/ja/.ssh/id_ed25519: No such file or directory
13:05:49 debug1: Trying private key: /Users/ja/.ssh/id_ed25519_sk
13:05:49 debug3: no such identity: /Users/ja/.ssh/id_ed25519_sk: No such file or directory
13:05:49 debug1: Trying private key: /Users/ja/.ssh/id_xmss
13:05:49 debug3: no such identity: /Users/ja/.ssh/id_xmss: No such file or directory
13:05:49 debug2: we did not send a packet, disable method
13:05:49 debug1: No more authentication methods to try.
13:05:49 admin@44.197.208.164: Permission denied (publickey).
13:05:49 Abnormal Disconnect

Remote server requires publickey authentication method, but you don't have a private key (aka. identity) in you home directory /Users/ja/.ssh/.

Please change server to password or keyboard-interactive authentication, or generate a private key and push the public key to your server.

Yang

https://tmpfiles.org/dl/90998/screenrecording2021-08-11at08.42.30.mov this is behavior