its only access is /var/www/html?
What i did: added a user "ftpaccess" with group www-data, the home dir set to /var/www/html and created .ssh dir. Added my pub key details (jaey_id_rsa.pub) in authorized_keys. Also i added AllowUsers ftpaccess in /etc/ssh/sshd_config.
It always returns ftpaccess@server.domain: Permission denied (publickey)
Whats missing here?
keep the home dir as a normal home dir.
Ok ill try now
Working now. Thanks! Sry latereply
Обсуждают сегодня