This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5726: AM5726 How to install SSH server

Part Number: AM5726


Hi,

I've been trying to install a SSH server following this article, but it failed.

Here is the shell command and the debug message I got:

shaoyu@ubuntu_shaoyu_vm:~/.ssh$ ssh -v -i ~/.ssh/id_rsa root@192.168.1.100
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n  7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.1.100 [192.168.1.100] port 22.
debug1: Connection established.
debug1: identity file /home/shaoyu/.ssh/id_rsa type 0
debug1: key_load_public: No such file or directory
debug1: identity file /home/shaoyu/.ssh/id_rsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
debug1: Remote protocol version 2.0, remote software version dropbear_2019.78
debug1: no match: dropbear_2019.78
debug1: Authenticating to 192.168.1.100:22 as 'root'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-rsa
debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-rsa SHA256:wLBo59J2ox82+rUUZLuIK/i2Qz+VceVgwnEKxpZZkXE
debug1: Host '192.168.1.100' is known and matches the RSA host key.
debug1: Found key in /home/shaoyu/.ssh/known_hosts:1
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: RSA SHA256:5ExEuf2vcmr+ejKnaosM0XFI6a05MV3abddPUYxrbzY /home/shaoyu/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
root@192.168.1.100: Permission denied (publickey).

Could someone give me some advices, THANKS!