December 14, 201510 yr I've been banging my head against this for a couple of hours. Hopefully someone can help me out here. I want to restrict my ssh log in to public key only but I can't get it to work without getting in first and doing a ssh-add manually. Doing it in the go file doesn't work on boot, but does when I run the go file manually from a login. I have modified ssh_config to accept PubkeyAuthentication I have my public key stored in /boot/config/ssh. It is copied as ~/.ssh/authorized_keys via the go file. permissions on ~/.ssh are drwx------ permissions on ~/.ssh/authorized_keys are -rw------- What is the correct way to add the key on boot? I'm not that familiar with setting up ssh so if there's anything else I'm overlooking please let me know. Edit: Turns out I was just being impatient. Waiting a bit longer allowed for a public key login, when I could login by password straight away.
February 29, 201610 yr Looks like you may have solved this for yourself. I am trying to get luckybackup configured on my laptop and want to save my backups remotely to my unRaid machine using ssh. Would you mind sharing the steps required to allow a client like luckybackup be able to connect via ssh keys. Thanks.
March 1, 201610 yr Author Have you got anywhere with enabling ssh yet? Do you want to know how to get ssh working or how to get it working with clients like luckybackup. Because I have no idea on the latter.
Archived
This topic is now archived and is closed to further replies.