Re: [Proftpd-user] Proftpd and openssh simultaneously?

Chris Young <[email protected]> Sun, 6 Mar 2022 14:12:06 -0600
Newsgroups gmane.network.proftpd.user
Message-ID <CABr7rqOfK2PXwmbK77=p2zfWtzO54eBHRVkCG6bXKXFCATaSdg@mail.gmail.com>
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.


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

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