kerensky Posted September 26, 2017 Share Posted September 26, 2017 Hello! So I'm trying to set up a server with a Raspberry Pi, and then use autossh to automatically connect the Pineapple to said server. So far I have: -Set up no-ip service for the Raspberry server. -Sucessfully connect via ssh from pineapple to raspberry and viceversa. -generated rsa keys on wifi pineapple and copied said files to authorized_keys on raspberry. However, when I try to ssh after this, it still keeps asking me for a password. If I enter said password then I login on the raspberry no problem, but this is obviously a problem, since I can't enable autossh, my main goal. What am I doing wrong? Thank you!! Quote Link to comment Share on other sites More sharing options...
kerensky Posted September 29, 2017 Author Share Posted September 29, 2017 I solved it. For any future people having the same problem, it's a permissions problem: chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys Quote Link to comment Share on other sites More sharing options...
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.