I recently configured a new web server (AWS EC2 instance) running Ubuntu 22.04. I am able to connect to the server via SSH/SFTP/SCP through a CLI on both Windows and Mac, but when I attempt an SFTP connection via a GUI (WinSCP on Windows; Commander One on Mac) my authentication is refused. I am using a private-key connection without a password, and the same exact key is being used in the CLI and in the GUI.
On the remote Ubuntu Server I am running
byobu but I have tried disabling it (as
byobu modified my
.profile), and that has not fixed the problem.
I have a number of other servers all running different versions of Ubuntu (the problem server is the only one on 22.04), all of them have
byobu enabled, and there are no issues connecting to them via SSH or GUI SFTP.
Maybe something changed in the latest version of OpenSSH and OpenSSL on Ubuntu 22.04? The versions installed on Ubuntu 22.04 are
OpenSSH_8.9p1 Ubuntu-3 &
OpenSSL 3.0.2 15 Mar 2022.
I have also added
PubkeyAcceptedKeyTypes=+ssh-dss to my
sshd_config file, but that has not helped.
Lastly, I had UFW running, but have disabled it and that has not changed anything.