Re: [Proftpd-user] Use mod_exec (or something to its effect) with sftp

"TJ Saunders" <[email protected]> Fri, 29 Apr 2022 07:44:48 -0700
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
> I've attached the relevant sections below (I'm not using <VirtualHost>s):

You cannot run SFTP and FTP/FTPS on the same address/port, unfortunately; the protocols don't work out that way.  Thus you will need to use a separate <VirtualHost> for SFTP; see:
  http://www.proftpd.org/docs/contrib/mod_sftp.html#SFTPAndFTP

And, per the <VirtualHost> docs:
  http://www.proftpd.org/docs/howto/Vhost.html

you will need to put any configuration, that you want to apply globally (to all vhosts) in a <Global> section -- including your mod_exec configuration.

Hope this helps,
TJ


_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html