sftp without shell access on ubuntu server
the /usr/local/cpanel/bin/noshell program has these hardcoded values for the sftp-server executable:
/usr/libexec/openssh/sftp-server
/usr/local/libexec/sftp-server
/usr/libexec/sftp-server
but on ubuntu the path is /usr/lib/openssh/sftp-server
I've managed to work around it using a symlink and changing the path in sshd_config but it would be nice if noshell would be updated with the ubuntu path
-
Hey there! cPanel requires that some level of shell access be granted in order to use SFTP. If you have shell access enabled on the account do things work how you expect?
0 -
yes but on centos 7 sftp was working even without shell access, it's also stated in the documentation in the note area https://docs.cpanel.net/knowledge-base/accounts/virtfs-jailed-shell/#disable-the-jailed-shell-environment
the problem is just that the sftp-server path is different on ubuntu compared to centos so noshell doesn't recognize it
0 -
Thanks for the additional details. I've created case CPANEL-45716 with our developers so they can get this resolved, and if I hear any updates on my end I'll be sure to post here!
0
Please sign in to leave a comment.
Comments
3 comments