LMon Posted December 14, 2015 Share Posted December 14, 2015 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. Quote Link to comment
huladaddy Posted February 29, 2016 Share Posted February 29, 2016 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. Quote Link to comment
LMon Posted March 1, 2016 Author Share Posted March 1, 2016 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.