Check this - https://makezine.com/2017/09/07/secure-your-raspberry-pi-against-attackers/ Believe you'll have to explicitly disable password-based auth.
- KB ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, July 5, 2020 11:43 PM, Grant Taylor <0000023065957af1-dmarc-requ...@listserv.ua.edu> wrote: > On 7/5/20 12:02 PM, Lionel B Dyck wrote: > > > I thought using SSH/SFTP would be able to skip the password by using > > my ssh key? > > Check the permissions of the ~/.ssh folder and all parent folders. > Group and other can't have write. > > Ask the admin to check the ssh server logs. It will almost always say > why the key is ignored. > > There is also a chance that the SSH daemon has been configured to not > allow keys. > > Try adding "-v" to the ssh command to increase verbosity. Make sure > that your client is offering the key. > > > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Grant. . . . > unix || die > > ------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN