Backup user: Public keys over SFTP don't work?


#1

Hi all,

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?


#2

I use Transmit for the Mac in SFTP mode and it works for me. My .ssh directory is 700 and my auth_keys file is 400

-Scott