You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 console failed to export private key is printed.
To Reproduce
Steps to reproduce the behavior:
Generate RSA 3072 key using ssh-keygen -t rsa command (in my tests, the passphrase length or its absence does not matter).
Set up a server in the cloud with the key from previous step added for the root user .
Ensure ssh can connect to the server from the PC.
Install AmneziaVPN on the PC.
Launch AmneziaVPN.
Click the "+" icon.
Click "Configure your server".
Fill in the IP-address, SSH username (root), and enter the RSA 3072 SSH private key (same as in step (1)).
Click "Continue".
(Optional, see (1)) Enter passphrase.
(Optional, see previous step) Click "Save".
Observe errors in the GUI, console, and logs.
Expected behavior
The AmneziaVPN client connects to the server.
Log files
2024-07-08 16:23:48 info Logging has enabled on AmneziaVPN version 4.5.3.0 eb48e4b
2024-07-08 16:23:48 info Fedora Linux 40 (KDE Plasma) (x86_64)
2024-07-08 16:24:24 debug QML onClosing signal
2024-07-08 16:24:30 info Started AmneziaVPN version 4.5.3.0 eb48e4b
2024-07-08 16:24:30 info Fedora Linux 40 (KDE Plasma) (x86_64)
2024-07-08 16:25:23 debug failed to export private key
Screenshots
(IP address is removed using a graphics editor)
Desktop (please complete the following information):
OS: Fedora 40
Version: 4.5.3.0
Smartphone (please complete the following information):
Device: irrelevant
OS: irrelevant
Version: irrelevant
Server (please complete the following information):
OS: Ubuntu 22.04
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: