I’m trying to set up my backup user so that I can copy files without having to put a password in.
I copied the .ssh/authorized_keys file from my normal DH account across to the backup account, and now I can SSH in without a password (where I get that message about no shell access), so the authorized_keys file is working. I can also use SCP without a password now too.
However when I use SFTP it still prompts me for a password. I’m new to SFTP but according to the manpage it should support public key authentication, so I’m not sure what’s going on.
Has anyone else gotten public key auth working with SFTP on their DH backup account?