Re: [Proftpd-user] Proftpd and openssh simultaneously?
Matus UHLAR - fantomas <[email protected]> Mon, 7 Mar 2022 10:04:48 +0100
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
On 06.03.22 14:12, Chris Young wrote: >Sftp is ssh, so it's not that your server is running two protocols on 22. >Sftp is just a custom/restricted set of commands implemented on to of ssh. and proftpd only supports these restricted set of commands. So, if anyone wants to use both proftpd for sftp and ssh for loggin, they must run on different ports. proftpd can be setup to listen on different port for sftp using directives <VirtualHost>, SFTPEngine and Port, see: http://www.proftpd.org/docs/contrib/mod_sftp.html section "Example Configuration" >On Sun, Mar 6, 2022, 2:07 PM Chris Young <[email protected]> wrote: > >> I don't believe there is an option to have sftp grant a user a true ssh >> shell. >> >> On Sun, Mar 6, 2022, 2:05 PM UpNorth <[email protected]> wrote: >> >>> I have a very specific sftp option I must have on (SFTPRekey none) which >>> only proftpd supports. I have a series of vendor boxes that cannot be >>> changed to sftp into a different port than 22 so I did move openssh to port >>> 2222, but I was hoping to having something on port 22 that could do sftp >>> AND ssh (and also allow the setting of SFTPRekey none) >>> >>> >>> >>> On 3/6/22 2:01 PM, Chris Young wrote: >>> >>> How did you setup sftp without disabling ssh or moving ssh to an >>> alternate port? >>> >>> Or did you setup sftp on a non-22 port? >>> >>> I typically leave ssh on 22 and move sftp to 2222, and have a load >>> balancer forward public 22 to the server's 2222. >>> >>> >>> On Sun, Mar 6, 2022, 12:42 PM UpNorth <[email protected]> wrote: >>> >>>> How can I set up a RHEL system to run proftpd just for ftp/sftp but >>>> still use openssh/openssl for remote ssh? >>>> >>>> I currently replaced openssl with proftpd. While I can sftp into my >>>> system, I get a message with >>>> >>>> unsupported 'pty-req' channel requested, ignoring >>>> >>>> when I try to openssh into my system (where I'm expecting a bash >>>> interface) >>>> >>>> I've googled around and can't seem to find a solution. >>>> >>>> Basically I need proftpd for sftp but need openssl/openssh for remote >>>> logins? -- Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Honk if you love peace and quiet. _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html