VanDyke Software Forums

VanDyke Software Forums (
-   Secure Shell (
-   -   Can't Get ssh Working Between My MacAir and Linux Box (

o2b 04-10-2020 03:55 PM

Can't Get ssh Working Between My MacAir and Linux Box

I have been trying to get ssh working at home between my MacAir (MacOS Mojave 10.14.6) and Linux box (Ubuntu 18.04 LTE). I can ssh from Linux to Mac, but not Mac to Linux.

I had tried to solve my problem with a friend of mine who is a senior Linux administrator and in the Apple forums, the latter for ~3 weeks and the discussion fizzled out with no success.

Ill provide some basic info in a reply.


o2b 04-10-2020 06:09 PM

I could not see my thread nor (of course) reply before. Probably because I am such a new user.

Some Linux Side Info
tony@radagast:~$ pwd

tony@radagast:~$ ls -al
drwx------ 2 tony tony 4096 Apr 9 18:09 .ssh

tony@radagast:~/.ssh$ pwd
tony@radagast:~/.ssh$ ls -l
total 20
-rw------- 1 tony tony 404 Apr 5 11:30 authorized_keys
-rw------- 1 tony tony 404 Apr 5 11:30 authorized_keys2
-rw------- 1 tony tony 1679 Apr 3 18:36 id_rsa
-rw-r--r-- 1 tony tony 395 Apr 3 18:36
-rw-r--r-- 1 tony tony 185 Apr 7 12:18 known_hosts

tony@radagast:~/.ssh$ ssh mirkwood@luthien.local
The authenticity of host 'luthien.local (' can't be established.
ECDSA key fingerprint is SHA256:nJZhcGnqWgjj+SLMFkKAH+fvLL9d3DLs5/EiPk/w4OM.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'luthien.local,' (ECDSA) to the list of known hosts.
Last login: Thu Apr 9 14:11:09 2020
luthien:~ mirkwood$

tony@radagast:~/.ssh$ scp ./foo.txt mirkwood@luthien.local:~/.ssh
foo.txt 100% 4 0.7KB/s 00:00

(Not sure why I didn't successfully ssh in without any commentary as I die before.

o2b 04-10-2020 06:12 PM

Mac Side Info
Mac Side Info

bash-3.2$ pwd

bash-3.2$ ls al

drwx------ 8 mirkwood staff 256 Apr 9 14:17 .ssh

bash-3.2$ pwd
bash-3.2$ ls -l
total 32
-rw-r--r-- 1 mirkwood staff 395 Apr 3 18:44 authorized_keys
-rw-r--r-- 1 mirkwood staff 395 Apr 3 18:32 authorized_keys2
drwxr-xr-x 3 mirkwood staff 96 Apr 7 12:59 debug
-rw------- 1 mirkwood staff 1831 Apr 3 18:42 id_rsa
-rw-r--r-- 1 mirkwood staff 404 Apr 3 18:42
-rw-r--r-- 1 mirkwood staff 360 Apr 9 18:08 known_hosts

bash-3.2$ ssh tony@radagast
The ECDSA host key for radagast has changed,
and the key for the corresponding IP address
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
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 ECDSA key sent by the remote host is
Please contact your system administrator.
Add correct host key in /Users/mirkwood/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/mirkwood/.ssh/known_hosts:1
ECDSA host key for radagast has changed and you have requested strict checking.
Host key verification failed.
bash-3.2$ ssh tony@radagast
tony@radagast: Permission denied (publickey).


jdev 04-10-2020 06:25 PM

Hi o2b,

These forums are reserved for discussion of secure shell technology where our VanDyke Software products are directly involved.

None of the clients or servers in your scenario involve VanDyke Software products. Your question should be posted to a non-VanDyke Software forum that is specific to the products and technology that are involved.

o2b 04-11-2020 07:42 AM

Oh man, sorry!

jdev 04-13-2020 11:44 AM

No worries.

I hope you find the answers you're looking for.


All times are GMT -6. The time now is 01:10 PM.