How to use Xshell on macOS?

I installed Crossover on Mac in order to be able using Xshell on Mac.

I do not need to use Mac Terminal, using Xshell is better as I am able to save commands and it easier to me than Mac terminal.

Hence, I need to ssh from Xshell to my Mac Lap, then use Xshell interface, but it failed. I am getting this error:

Xshell:> ssh my_user@mac_ip
Connecting to mac_ip:22...
Connection established.
Escape character is '^@]'.
Connection closed by foreign host.
no matching key exchange method found

Tried to create public key for Mac, but while importing it through Xshell, getting:

Failed to import the user key!

What can I do?