# Sftp authorization with ftp account

**URL:** <https://forum.hestiacp.com/t/sftp-authorization-with-ftp-account/4264>\
**Category:** Uncategorized\
**Created:** [August 9, 2021, 2:40pm UTC](https://forum.hestiacp.com/t/sftp-authorization-with-ftp-account/4264 "2021-08-09T14:40:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xazrat](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/x/b5ac83/32.png) [@Xazrat](https://forum.hestiacp.com/u/Xazrat)\
**Post date:** [August 9, 2021, 2:40pm UTC](https://forum.hestiacp.com/t/sftp-authorization-with-ftp-account/4264/1 "2021-08-09T14:40:16Z")

</div>

HestiaCP 1.4.9  
Debian 10.10

Hello. I created a ftp account, and I want to log in via sftp, but when connected, it gives an error. FTP account is in the same group with the main account. below are logs from auth.log file

```auto
Aug 9 19:31:06 sshd[79954]: Accepted password for mt_ftp from *.*.*.* port 50257 ssh2
Aug 9 19:31:06 sshd[79954]: pam_unix(sshd:session): session opened for user mt_ftp by (uid=0)
Aug 9 19:31:06 systemd-logind[1465]: New session 36188 of user mt.
Aug 9 19:31:06 systemd: pam_unix(systemd-user:session): session opened for user mt by (uid=0)
Aug 9 19:31:06 sshd[79974]: fatal: bad ownership or modes for chroot directory component "/home/mt/web/"
Aug 9 19:31:06 sshd[79954]: pam_unix(sshd:session): session closed for user mt_ftp
Aug 9 19:31:06 systemd-logind[1465]: Session 36188 logged out. Waiting for processes to exit.
Aug 9 19:31:06 systemd-logind[1465]: Removed session 36188.
Aug 9 19:31:07 CRON[79885]: pam_unix(cron:session): session closed for user mt

```

folder permission: rwxrwx-x

---

<div class="post-metadata">

**Author:** ![Raphael](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/raphael/32/5217_2.png) [@Raphael](https://forum.hestiacp.com/u/Raphael)\
**Post date:** [August 9, 2021, 2:45pm UTC](https://forum.hestiacp.com/t/sftp-authorization-with-ftp-account/4264/2 "2021-08-09T14:45:33Z")

</div>

Hi

Please use the search function before you open a new thread (search words: sftp ftp): [Additional FTP Accounts - Allow SFTP Access](https://forum.hestiacp.com/t/additional-ftp-accounts-allow-sftp-access/2164)

---

<div class="post-metadata">

**Author:** ![Xazrat](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/x/b5ac83/32.png) [@Xazrat](https://forum.hestiacp.com/u/Xazrat)\
**Post date:** [August 9, 2021, 6:28pm UTC](https://forum.hestiacp.com/t/sftp-authorization-with-ftp-account/4264/3 "2021-08-09T18:28:25Z")

</div>

I have already looked, I tried to repeat many recommendations, it does not help. And I also read this topic that you recommended. That’s why I dared to ask for help

---

<div class="post-metadata">

**Author:** ![Raphael](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/raphael/32/5217_2.png) [@Raphael](https://forum.hestiacp.com/u/Raphael)\
**Post date:** [August 9, 2021, 6:32pm UTC](https://forum.hestiacp.com/t/sftp-authorization-with-ftp-account/4264/4 "2021-08-09T18:32:31Z")

</div>

Its currently not possible, hestia doesnt support it yet, due to that we can’t provide support for it - otherwise we would have it already implemented.

---

<div class="post-metadata">

**Author:** ![Xazrat](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/x/b5ac83/32.png) [@Xazrat](https://forum.hestiacp.com/u/Xazrat)\
**Post date:** [August 9, 2021, 6:34pm UTC](https://forum.hestiacp.com/t/sftp-authorization-with-ftp-account/4264/5 "2021-08-09T18:34:40Z")

</div>

Can’t I fix it manually?

---

<div class="post-metadata">

**Author:** ![Raphael](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/raphael/32/5217_2.png) [@Raphael](https://forum.hestiacp.com/u/Raphael)\
**Post date:** [August 9, 2021, 6:37pm UTC](https://forum.hestiacp.com/t/sftp-authorization-with-ftp-account/4264/6 "2021-08-09T18:37:30Z")

</div>

For sure, but I can’t say you how - as written above, of I could we would have it already implemented.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [September 8, 2021, 6:38pm UTC](https://forum.hestiacp.com/t/sftp-authorization-with-ftp-account/4264/7 "2021-09-08T18:38:23Z")

</div>

Closed on September 8, 2021, 6:38pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
