Re: [Proftpd-user] SFTPHostKey perms

Alexey Kuznetsov <[email protected]> Wed, 27 Sep 2023 20:50:29 +0300
Newsgroups gmane.network.proftpd.user
Message-ID <CAF1dqJWL9buSz2JjMGq5xA2dOM5uV-PH8C4dW_mPcCcZ6bz7gg@mail.gmail.com>
Heh, thanks for a nice hardening of my boxes - i'd better deal with more
strict permissions.

Respectfully, Alexey

On Tue, Sep 26, 2023 at 11:01 PM TJ Saunders <[email protected]> wrote:

> > New install rpm install on rh8. 1.3.6e.
> >
> > Get this error: fatal: SFTPHostKey unable to use /etc/ssh/…. as host
> > key, as it is group- or  world-accessible. Perms are rw-r——- root
> > ssh_keys
> >
> > These perms default install for red hat.  Is there a way around this.
>
> I think you may need to use:
>
>   SFTPOptions InsecureHostKeyPerms
>
> See:
>   http://www.proftpd.org/docs/contrib/mod_sftp.html#SFTPOptions
>
> Hope this helps,
> TJ
>
>
> _______________________________________________
> ProFTPD Users List   <[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