mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-10-15 05:42:07 +00:00
Closed
opened 2026-10-13 20:15:45 +00:00 by bsakaguchi
·
29 comments
No Branch/Tag specified
dev
feat/otp-login
feat/api-tests
fix/show-locked-xray-settings-page-for-servers-without-write-access
fix/serialize-log-record-writes-and-pin-log-date-format-locale
fix/libagw-review-fixes
fix/ios-xray-ipv6-leak
fix/macos-xray-ipv6-leak
feat/add-support-include-split-tunnel
fix/win-xray-app-split-tunneling
fix/bug-when-saving-after-canceling
fix/xray-reconnect-crash
fix/share-empty-config-on-ssh-timeout
fix/ssh-credentials-input
fix/updater-verify-signature
fix/async-ssh-threading
fix/xray-check-inet-and-liveness-monitor
fix/selfhosted-server-installations
feat/add-support-ikev2-macos
fix/icons-different-color-themes
feat/add_support_arm_windows
feat/add-deep-link
feat/fixed-push-notifications-on-VPN-connect-disconnect-2
feat/implement-QR-code-generation-and-scanning
feat/file-password-protection
feature/add-local-proxy
feat/add-support-split-tunnel-macos
feat/tests
fix/android-register-unacknowledged-purchase
fix/share_on_linux
mirroring-to-outside
feat_copy_docker_configs
feat/self-diagnostics-log
feat/amnezia-free-vless-switch
fix/conan_build_android_on_win
fix/linux-reconnect-dns-reliability
fix/windows-connection-stability
fix/linux-reconnect-refactoring
fix/ios-groupidentifier-order
feat/xray-subscription-link
fix/minor-fixes
fix/xray-config-inplace-edit
feat/amnezia-sdk-typed-api
feat/amnezia-sdk-integration
feat/force-update-native
refactor/marketplace-update-popup
feat/force-update
fix/valnurability_dev
chore-xcode-version
fix/empty-i1-i5
build_qt_6_10_1
master
feat/protocol-selection
fix/openvpn_install
feat/locations_change
feat/locations_change_rework
feature/local-proxy-integration
fix/filepicker_atv
fix_valnurability
fix/macos-ne-codesign-4.8.19.0
temp-branch-for-testing
fix/rebased_4_8_19_linux_fix_error
feat/proxy-storage-cache
fix/zeroed-params
fix/killswitch-blocknets-linux
update/translation_RU
fix/self_hosted_reinstall_error
feat/selfhosted-dns
fix/agp_version_up
feat/switch_to_alive_protocol
feat/support_multipeer
server_scripts_update
fix/extended-vless-configuration
chore/apple-ci-cd-macos-versions
feat/add-telemt
fix/android_keystore_read_error
feat/add-mtproxy
chore/bump-qt-version
fix/make_dbus_async
feature/dns
rebase/apple-tv-target-on-conan
fix/outbound_freedom_xray_with_dns_fix
feat/apk_support
feat/fallback-proxy
feat/apple-tv-target
fix/dns_reconnection_issue
feat/fixed-push-notifications-on-VPN-connect-disconnect
fix/linux-firewall
docker-regional-locks
appstore-review-popup
feat/storekit2
fix/uninstall-split-tunnelling-driver
revert-2376-chore/license-file
support_16kb_android
bump_version
feat_add_review_android
bugfix/translation-absence-on-subscription-key-page
feat/location-separation-by-region
bugfix/text-moving-when-resing-window
fix_backup
feature/add-purchase-android
bugfix/moved-text-while-resizing-window
bugfix/incorrect-killswitch-restore-from-backup
fix/backup-exclude-secondary-api-configs
feat/proxy-fields-for-dev-console
bugfix/ovpn-ios-fix
bugfix/linux-bundle-libraries
fix/xray-app-split-win
fix/upload-to-s3
chore/add-release-date-upload
feat_add_webview_support
feature/configuration-transfer-through-qr
feat/bot-key-unlink-device
fix/ad-link-lang-support
fix/qsecuresettings-with-android
feat/add-support-arm64-win
spanish-translations
fix/context-menu
feat/add-system-dns-support
fix/qt6-9-support
fix/qt6_9_support
bugfix/strict-killswitch-ui
android-7
chore/minor-bugfixes
feature/awg-net-fix-macos-wakeup
fixbug/ios18
bugfix/ios-ne-crash
fix/linux-tray-quit-button
cryptpad-support
bugfix/disable-linux-killswitch
fix/minor-ui-fixes
feature/setup-guid-tun2socks
feature/linux-ipsec
feature/ipsec-linux
refactoring/server-config-in-classes
feature/macos-ipsec
fix/ui-fixes-after-merge-with-d20ed4a
chore/focus_control_after_qt_6.9_migration
feature/integrate-xray-as-a-library
maxos-awg-fix
feature/add-new-awg-docker-image
chore/update-3rd-prebuild
feature/test-news
fix/api-conf-files
bugfix/split-tunneling-with-api-config
bugfix/ios-awg-new-fields
feature/special-handshake-2
feat/xray-api-support
fix/desktop-entry
bugfix/shadowsocks-cipher-setting-not-changing
feature/update-tap
bugfix/openvpn_import_fix
feature/ability-to-change-port-after-installing-xray
bugfix/strict-mode-ovpn
bugfix/win-ipv6-ovpn
bugfix/subnet-adress-setting
exception-podman-docker
bugfix/fix-listviewtype-scrolling
bugfix/win-disabled-ipv6
bugfix/win-ipv6-disabled-ovpn
feature/killswitch-strict-mode
feature/awg-network-check
feature/empty-split-tunneling-list
feature/support-info
chore/update-go-version
checking-Linux-version
update_server_scripts
bugfix/button-selection-easy-setup-page
feature/old-api-proxy
patch/user-checking
fix/correcting-version
support-podman
support_podman
user-checking-patch
feature/check-docker-version
feature/allowed-dns-list
without_lsof
chore/error-body
Update-amneziavpn_ru_RU
shiroow-patch-8
shiroow-patch-7
shiroow-patch-6
shiroow-patch-5
shiroow-patch-4
shiroow-patch-3
shiroow-patch-2
shiroow-patch-1
check_sudo_permissions
feature/euphoria
add_next_octet_to_ip_settings
bugfix/mobile-controllers-init
euphoria
bugfix/android-crush
feature/macox-network-extension
bugfix/pre-release-hotfixes
bugfix/ipsec-pfs
chore/ios-site-links
checking_sudo_permissions
feature/android-tv
improve_navigation_cpp
bugfix/linux-firewall-install
fixbug/wireguard-handshake-time
ReadmeRu_full
feature/xray-user-management
feature/subscription-end-date
chore/clang-format
feature/ru-in-readme
chore/increased-api-timeout
chore/deploy-workflow
bugfix/services-list-scroll
wheel_group_suppor
chore/bump-xcode-version
fixbug/mac-network-extension
feature/android-gpb
feature/page-home-drawer-country-selection
checking-sudo-users
bugfix/service-info-from-response
fixbug/build-macos-ne-2
android-qt-6.7.3
fixbug/build-macos-ne
bugfix/wg-windows-log-folder
feature/psk-key-api-request
bugfix/user-management-qml-warnings
fix/macos-network-extension
fixbug/macos-NE-build
bugfix/fixed-isDevEnv-initialization
bugfix/revert-ios-ovpn
feature/tun2socksSrv
fix/disable_singleapp
feature/awg-wg-name-resolving
feature/disable-dhcp
bugfix/allowed-ips-old-configs
feature/goodbyedpi
feature/add-exception-log
refactoring/remove-ipv6-from-default-routes
refactoring/singleapplication-submodule
macos-dirty-build
test/gateway
Update-amneziavpn_fa_IR.ts
bugfix/ipsec-win
fix/xray-custom-port
improve-tab-navigation
test-win-11
feature/android-tv-remote-control-support
KsZnak-patch-1
feature/awg-wg-qr
bugfix/fix-loopback-splittunel
fix/setup_host_firewall
feature/android-xray
feature/openvpn-pass
feature/connection-string
fix/clickable-errors
bugfix/api_1100_fix
feature/graphview
testsvg
feature/update-win-awg
feature/open-as-amnezia
feature/update-mozilla-upstream
bugfix/qr-code-cutting
feature/native-wg-psk
test/awg-centos
bugfix/hide_error
feature/add-uninstaller-checkbox
bugfix/cancel-button-on-install-page
bugfix/anchors-page-home-warning
awg-udptlspipe
button-focus-fix
revert-677-fix/logger
bugfix/Revert_PR_596
bugfix/allowed-ips-api-configs
bugfix/on-escape-pressed
feature/auto-scroll-for-server-selection-list
fix/ui-fixes
translations/update_fa_IR.ts
feature/new-awg-docker-container
bugfix/awg_ipv6_fix
feature/tab-navigation
fix/username-no-autocapitalization
sure
refactoring/servers-model-cleanup
feature/wg-mtu-setup-ios
3rd_adaptation_to_diff_OS
sudo_not_found
test/docker-ce
bugfix/double_clear_server_from_amnezia
fix/android
client/3rd-prebuilt
revert-559-KsZnak-translation-ru-ex
KsZnak-translation-ru-ex
KsZnak-br1
KsZnak-text-change
feature/api-awg
feature/error-code-output
feature/win_x32_builds
text/debug-output
feature/ovpn3-desktop-cli
bugfix/secureqsettings-deadlock
refactoring/change-settings-when-connected
files_check
ArchLinux-support
second_adaptation_to_diff_os
sudo
refactoring/android-build
adaptation_to_different_os
feature/online_installer_for_v4
update_to_r2
bugfix/return-after-installation
feature/custom_drawer_component
bugfix/split-tunneling
bugfix/existing-awg-container
revert-370-feature/custom_drawer_component
bugfix/adapted_awg_questiondrawer
bugfix/updated_drawer_height_pageserverdata
bugfix/translated_new_source_strings_to_chinese
feature/split-tunneling-config
feature/accessibility-support
branch_connectivity_change_fix
feature/ikev2_android
android_ss_transport
bugfix/macos_fixes
feature/nextcloud-support
feature/macos_network_extension
android_pt_transport_source
feature/ios-openvpn3-pluggable-transport-Cloak
bugfix/cloak_for_desktops_fix
arm-build-macos
fix-macos-build-brew
bugfix/ios-build-openvpnadapter-from-source
feature/download-native-wireguard-config-on-connect
feature/v2ray-container
bugfix/dpkg-busy-checking-stuck
feature/online-installer
dev-killswitch
dev-netadapters
5.0.3.0
5.0.2.1
5.0.2.0
5.0.1.5
5.0.0.5
5.0.0.2
4.8.21.0
4.8.19.0
4.8.18.0
4.8.17.0
4.8.16.0
4.8.15.4
4.8.15.0
4.8.14.5
4.8.14.1
4.8.12.9
4.8.12.8
4.8.12.7
4.8.12.6
4.8.11.4
4.8.11.3
4.8.11.2
4.8.11.1
4.8.11.0
4.8.10.0
4.8.9.2
4.8.9.1
4.8.9.0
4.8.8.3
4.8.8.2
4.8.8.1
4.8.7.2
4.8.7.1
4.8.7.0
4.8.6.0
4.8.5.0
4.8.4.5
4.8.4.4
4.8.4.3
4.8.4.2
4.8.4.1
4.8.4.0
4.8.3.2
4.8.3.1
4.8.2.3
4.8.1.9
4.8.1.0
4.8.0.5
4.7.0.0
4.6.0.3
4.6.0.1
4.5.3.0
4.5.0.0
4.4.0.0
4.3.0.0
4.2.1.0
4.2.0.1
4.1.2.0_cloak_pt_experimental
4.1.0.1
4.0.8
3.1.0
3.0.8
3.0.7
3.0.5
2.1.2
2.1.0
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.1
2.0
1.9.1
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
No labels
pull-request
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amnezia-client#222
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @OpFab123 on GitHub (Jun 9, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/845
Originally assigned to: @Mitternacht822 on GitHub.
Describe the bug
When i want to install amnezia on my server, the app gives me
Error 300: SshRequestDeniedError. The wiki states the following:Problem is, the credentials are correct for sure. How do I know? Getting remote access to the server using plain ssh from the command line works just fine. In addition, the ssh log (
journalctl -u ssh) reports a succesful login, when i click connect in the app, though the app reports Error 300.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The installation process should finish as expected.
Log files
i dont think the ssh log is helpful, espacially as i would redact quite a lot of it.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
tested with:
Amnezia App
Server (please complete the following information):
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
proposed solution
Fix what ever is wrong?
Alternativly, I understand why you have choosen to make the installation process as easy as possible for non tech people, but this creates problems in case of any failures, as you have nothing to check. For example, if there was an bash installation script, one could look into it, see at wich step the script stops working and start digging into it, possibly finding e.g. a workaround.
@pokamest commented on GitHub (Jun 11, 2024):
Could you tell more details about your server?
What is provider? What is extra settings on your server? What is username, root or other?
@glolsh commented on GitHub (Jun 12, 2024):
Second to this. I have clean Hetzner cloud server with key-only ssh auth. Getting error too.
I have these enabled ssh settings (/etc/ssh/sshd_config):
Include /etc/ssh/sshd_config.d/*.conf
PubkeyAuthentication yes
PasswordAuthentication no
ChallengeResponseAuthentication no
KbdInteractiveAuthentication no
UsePAM no
AllowAgentForwarding yes
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
@glolsh commented on GitHub (Jun 13, 2024):
Solved this issue by switching to ed25519
@OpFab123 commented on GitHub (Jun 14, 2024):
Im using a clean unbuntu server minimal VM on proxmox, located at my home (the main use case for the vpn is sneaking around my schools blocking).
The root Users not properly setup (has no password, but thats standart on ubuntu), so im using a custom username with sudo access.
And the error accours with both the local ip and public ip.
@OpFab123 commented on GitHub (Jun 14, 2024):
Bruh i didnt mean to close this thread
@nastyagrifon commented on GitHub (Jun 14, 2024):
Had the same issue, here's what worked for me:
After running Linux client to configure the server I've noticed that script runs
After that, the installation fails with SSH error 300, while the stdout says
Indeed, the folder /opt/amnezia does not exist. Let's create it manually then! Just run on your target server this:
Make sure you log in with the same user as you've put in the AmneziaVPN client. Can't say if that can cause issues, but I believe the CUR_USER variable is there for a reason
After that the error 300 is gone and installation process goes as usual. Not sure why this happens, hope this helps someone
@lunardunno commented on GitHub (Jun 15, 2024):
Have you configured this server before, but under a different user?
@nastyagrifon commented on GitHub (Jun 17, 2024):
In my case error never occurs when using root user. Entering any other low-priv user results in this issue, even if that user is in the sudo group
@lunardunno commented on GitHub (Jun 18, 2024):
The problem was that when an individual container was deleted under root, the container directory remained, and the non-root user (only sudo) could not do anything with it.
And when the entire server is cleared of the AmneziaVPN software, this folder will be deleted and the server can be configured as a non-root user (only sudo).
The fix is already included in the dev branch, and will be included in the next release|pre-release.
@MichaelDoronin commented on GitHub (Jun 20, 2024):
Hi guys. Same issue on windows 11 machine.
Can't ssh connect with amnezia client.
What happened?
In powershell ssh connection success...
@lunardunno commented on GitHub (Jun 20, 2024):
@MichaelDoronin
Is the server new? Or was it already configured under a different user to work with AmneziaVPN?
@ndenissov commented on GitHub (Jun 21, 2024):
I understand that this is not the best solution, but it worked for me.
@MichaelDoronin commented on GitHub (Jun 22, 2024):
yes, new cloud ubuntu machine from provider. even i tried install amnezia on my android phone - same result.
but now, i created manual wireguard configuration on the same server in terminal and it works for me
https://upcloud.com/resources/tutorials/get-started-wireguard-vpn
@lunardunno commented on GitHub (Jun 22, 2024):
The reason for this problem was that /opt/amnezia/amnezia-awg/ was initially created under the root user. And having deleted the container, but without clearing the server of all AmneizaVPN protocols and services, they began to configure the server under a different user.
Corrected in
https://github.com/amnezia-vpn/amnezia-client/actions/runs/9157401644
@Zerogoki00 commented on GitHub (Jul 6, 2024):
I have the same problem. The only solution was login as root AND with password. Any other options (different users with/or public key) lead to errors.
This needs to be fixed
@AegeanBlue commented on GitHub (Aug 6, 2024):
Have the same error, creating /opt/amnezia/amnezia-awg/ seems to fix the issue, but it also replicates whenever I try to install new protocol
@Daniil-Solovyev commented on GitHub (Aug 8, 2024):
Amnesia only supports RSA keys with PEM, and ed25519
Examples of the line to generate:
ssh-keygen -t rsa -m PEM -b 2048
ssh-keygen -t rsa -m PEM -b 3072
ssh-keygen -t rsa -m PEM -b 4096
ssh-keygen -t ed25519
@phonoarchive commented on GitHub (Sep 16, 2024):
I have a Servarica VPS and iPhone, trying to login as root via ssh private key option, getting error 300: SSH request was denied. Tried to generate all type of keys, et25519 also... no result.
@WeAreLiving1984 commented on GitHub (Oct 11, 2024):
I had problem when setting up non root user (with disabled root login on ssh), here how I solved it on debian:
@boibibifd commented on GitHub (Nov 8, 2024):
It's been more than 5 months, what are the results?
@boibibifd commented on GitHub (Nov 9, 2024):
Full default ubuntu 22.04 with sudo user
@Kyogre commented on GitHub (Nov 9, 2024):
Had the same problem.
ErrorCode: 300+ errorcritical "Access denied for 'password'. Authentication that can continue: publickey,password"in logs.After some time I got it solved.
ed25519key (can even specify a passphrase) and write its public key toauthorized_keysas usual.@lunardunno commented on GitHub (Nov 10, 2024):
What will be output when executing this line in the console under the user intended for AmneziaVPN?
sudo -nu $(whoami) sudo 2>&1 -n uname
@dublewesha commented on GitHub (Dec 3, 2024):
Got a similar error after rebooting the VPS server. The reason was that the docker daemon could not start automatically after rebooting the server.
What helped me was manually starting the docker with the command:
systemctl start docker
@dcavni commented on GitHub (Dec 19, 2024):
It looks like the problem is with the fact, that server requires sudo password again after login and app doesn't have the ability to enter it. I made a bypass using this added on the end of the file (be very careful while editing this):
In terminal run the visudo command to edit the sudoers file:
sudo visudo
and add the following line to the sudoers list
username ALL = NOPASSWD : ALL
Note: Replace username with your real UserName in above line
I also got docker error while installing, i think it's Error 203. I solved this using install from apt repository (for Ubuntu server):
https://docs.docker.com/engine/install/ubuntu/
@AbdElhalim12 commented on GitHub (Jul 2, 2025):
This Worked for me
@YasharSL commented on GitHub (Feb 15, 2026):
worked for me too
Also this may be a helpful detail: My server's SSH was configured so that even if you have an ssh key and you are a known host, it requests user password on login.
@GinnyB0Y commented on GitHub (Feb 19, 2026):
@YasharSL on my ssh connection requiers password. I insert password from my server (where root - is login), but it doesn't work. Where I can find password?
@PhilosopherRUS commented on GitHub (Mar 1, 2026):
Fix for Error 300: SshRequestDeniedError (Amnezia VPN, Ubuntu 24.04):
The problem was caused by SSH password authentication being disabled in an additional config file. Even if /etc/ssh/sshd_config contains PermitRootLogin yes and PasswordAuthentication yes, Ubuntu 24.04 can override these settings via files in /etc/ssh/sshd_config.d/. One of those files had PasswordAuthentication no, which prevented Amnezia from logging in via password.
Fix: check ls /etc/ssh/sshd_config.d/, open the files with sudo nano /etc/ssh/sshd_config.d/*, change PasswordAuthentication no to PasswordAuthentication yes (then save), then run sudo systemctl restart ssh. After that, the installation proceeds normally. Win!