FTP redirect to SFTP
shockwavecs last edited by
I have setup a server to chroot/jail users to a /var/jail environment. This allows secure FTP only and uses OpenSSH as an underlying protocol. The FTP service doesn't even run after running this setup. This means attempting to go to ftp://ftp.website.com simply fails. The SSH subsystem (sftp internal-sftp) takes the lead and authenticates users appropriately.
Everything works 100% for SFTP things. I just want to ensure that users are able to successfully get to the FTP site no matter what way they try to connect.
cmb last edited by
Impossible. It's not like a HTTP to HTTPS forced redirect where you can tell the browser to go to the secure site, FTP has no such mechanism for redirection.