SSH key not recognized for "generic" server

Wappler Version : 4.5.3
Operating System : Mac Mini M1
Server Model: NodeJS
Database Type: MariaDB
Hosting Type: Cloud

Expected behavior

I should be able to connect to a generic server with the SSH key I generated.

Actual behavior

What actually happens?

The SSH key is not recognized and it gives me this error:

Creating Docker Machine …
Running pre-create checks…
Error with pre-create check: "SSH key does not exist: “~/.ssh/id_rsa”"
Fetching Docker Machines …
Error Creating Docker Machine!
Done!

How to reproduce

Simply try to create a generic docker server.

Is your id_rsa.pub file really there and can you manually connect with ssh in a terminal?

Thanks for your answer @George!
Yes, I tried with a different tool (Termius) to login via SSH with my SSH key and it worked.

Tried again a few times with Wappler and same error:

I don’t know if it’s the issue, but the error displays multiple quotes and backslashes etc so maybe it’s the problem here… :smiley:

Seems there is a problem resolving the ~ to the user folder on Mac.
Will fix it in the next update.

For now you can just replace the ~ with /Users/user_name where user_name is your name.

1 Like

Thank you @George, your fix worked! :smiley:

This has been fixed in Wappler 4.6

1 Like