0

I know this has been asked before but all the threads I see are locked.

I have had the unit reconstruct the SSH keys, turned on SSH and changed my password though not the user name. I am able to sign in directly with new password when the Pi is hooked to keyboard and monitor.

I can ping the Pi from Mac Terminal and see it as connected in the router configuration. It is also running PiAware from flight aware without issue.

I want to be able to SSH into it for Flightaware updates. When I try, from Mac terminal cyberduck or WebSSH I get an invalid credentials type error.

I have Copy/Pasted my Mac Terminal error below. I KNOW the password is correct because I can log in directly, but cannot with SSH. Any help is greatly appreciated!

Last login: Fri Jan 17 09:59:03 on ttys000

XXXX@Bilbo-Baggins-Mac-Mini-M4-Pro ~ % ssh pi@192.168.40.69

pi@192.168.40.69's password:

Permission denied, please try again.

pi@192.168.40.69's password:

Permission denied, please try again.

pi@192.168.40.69's password:

Milliways
  • 62,573
  • 32
  • 113
  • 225

1 Answers1

0

Can you look at /etc/ssh/sshd_config and make sure the PasswordAuthentication option is unset, or set to yes? If it's set to no then SSH will refuse password logins.

You're SSH'ing as the pi user, but you don't say whether you're using the pi or root user when logging in directly.

If you run journalctl -u sshd -n on the Pi after a failed SSH attempt, do the logs displayed give you any hints about what the issue is?

Malvineous
  • 2,109
  • 15
  • 25