Re: [Proftpd-user] SFTPHostKey perms

"TJ Saunders" <[email protected]> Tue, 26 Sep 2023 12:59:27 -0700
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
> 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