I was trying to sftp to my Fedora 39 workstation. Authentication succeeds but sftp failed, with error on the client side: “Unable to open SFTP session”. I see that /etc/ssh/sshd_config
contains:
Subsystem sftp /usr/libexec/openssh/sftp-server
I don’t see any reason in the logs for why the connection fails. There are no selinux failures or any other errors that I can see.
When changing Subsystem
to:
Subsystem sftp internal-sftp
it works fine! However, according to this issue, it is not as secure.
I’m using the internal server for now, but anyone have any ideas on how to get /usr/libexec/openssh/sftp-server
to work?