Hi, how can I make an ssh connection with the device using macOS? Can you explain step by step?
Thanks.
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.
Hi, how can I make an ssh connection with the device using macOS? Can you explain step by step?
Thanks.
Hi Alper,
I don't use macOS, but here is the instruction to SSH connect from Ubuntu 22.04:
Connect the SK-AM62A Ethernet port to the same network with the Linux PC. Boot SK-AM62A with the SDK8.6, run the following command to assign SK-AM62A an IP address (my Linux PC IP address is 192.168.88.110):
root@am62axx-evm:~# ifconfig eth0 192.168.88.162
Then on Ubuntu 22.04 PC:
dev@ula:~$ ssh 192.168.88.162 Unable to negotiate with 192.168.88.162 port 22: no matching host key type found. Their offer: ssh-rsa dev@ula:~$ ssh -oHostKeyAlgorithms=+ssh-rsa root@192.168.88.162 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the RSA key sent by the remote host is SHA256:Q97ExTEvVWD6Ac9dg0HfWt0cFWWUF7UuaAHPBB0vnqY. Please contact your system administrator. Add correct host key in /home/lb/.ssh/known_hosts to get rid of this message. Offending RSA key in /home/lb/.ssh/known_hosts:19 remove with: ssh-keygen -f "/home/lb/.ssh/known_hosts" -R "192.168.88.162" Host key for 192.168.88.162 has changed and you have requested strict checking. Host key verification failed. dev@ula:~$ ssh-keygen -f "/home/lb/.ssh/known_hosts" -R "192.168.88.162" # Host 192.168.88.162 found: line 19 /home/lb/.ssh/known_hosts updated. Original contents retained as /home/lb/.ssh/known_hosts.old dev@ula:~$ ssh -oHostKeyAlgorithms=+ssh-rsa root@192.168.88.162 The authenticity of host '192.168.88.162 (192.168.88.162)' can't be established. RSA key fingerprint is SHA256:Q97ExTEvVWD6Ac9dg0HfWt0cFWWUF7UuaAHPBB0vnqY. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '192.168.88.162' (RSA) to the list of known hosts. root@am62axx-evm:~# root@am62axx-evm:~# uname -a Linux am62axx-evm 5.10.168-g2c23e6c538 #1 SMP PREEMPT Mon Feb 27 11:35:01 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux root@am62axx-evm:~#