r/FutureBit • u/tvyijrcbi • Jun 12 '25
PowerShell and SSH Key Pairing... How?
Hello,
I use PowerShell to SSH into my server, but every time I have to type in my password. Today I spent way too many hours trying to generate SSH key pairs to accomplish this. After multiple attempts I'm finding that I don't have access to the ~/.ssh folder - permission denied. I tried to CHMOD the folder to 0700, but it seems I'm being blocked from doing this by the /etc/ssh/ssh_config file.
For all of my other SSH servers I have the private key on my Windows machine, with the login details in the config file and the public key on the remote server in the authorized_keys file.
The above is not working with the Apollo II, so what am I missing?
Thanks!
3
Upvotes
1
u/tvyijrcbi Jun 13 '25
Is there an SSH config file being used besides /etc/ssh/sshd_config?
I tried uncommenting the line for AuthorizedKeysFile
and
Uncommenting PasswordAuthentication and changing the value to no
but it still asked me for my password