Open rominf opened 2 months ago
Same issue with RSA key.
With ed25519 key rather than an error the UI just hangs after hitting save on the "Private key passphrase" input.
same problem on mac os sonoma - 4096 bit rsa failed, so i had to
ssh-keygen -t ed25519 -C "{my_email}"
ssh-copy-id {my_server}
And then used .ssh/id_ed25519
for connection
Describe the bug The AmneziaVPN client fails to connect to the server with an RSA 3072 key. The GUI displays
ErrorCode: 101. Internal error
, and in the consolefailed to export private key
is printed.To Reproduce Steps to reproduce the behavior:
ssh-keygen -t rsa
command (in my tests, the passphrase length or its absence does not matter).root
user .ssh
can connect to the server from the PC.root
), and enter the RSA 3072 SSH private key (same as in step (1)).Expected behavior The AmneziaVPN client connects to the server.
Log files
Screenshots (IP address is removed using a graphics editor)
Desktop (please complete the following information):
Smartphone (please complete the following information):
Server (please complete the following information):
Additional context I found that the length of the SSH key passphrase or its absence does not matter. Adding an ED25519 key to the server and entering it into AmneziaVPN results in expected connection.