cbmcclosk
Posts: 3
Joined: Fri Jan 17, 2020 3:22 pm

Unable to connect from Mac to Raspberry Pi4 using SSH

Fri Jan 17, 2020 3:32 pm

I have followed all the steps to enable ssh on my raspberry pi listed on this site; however on my mac terminal the password I enter is not accepted by the raspberry pi.

I have rebooted both machines, ensured the correct IP address for the raspberry pi, get all the right prompts in my terminal window on the mac up until the password prompt.

Any suggestion would be appreciated.

drgeoff
Posts: 10359
Joined: Wed Jan 25, 2012 6:39 pm

Re: Unable to connect from Mac to Raspberry Pi4 using SSH

Fri Jan 17, 2020 6:13 pm

Is this another case of not being aware that Linux does not echo the password characters? Not even asterisks. Just press the keys on the keyboard and finish with the Enter/Retun key.

jahboater
Posts: 5218
Joined: Wed Feb 04, 2015 6:38 pm
Location: West Dorset

Re: Unable to connect from Mac to Raspberry Pi4 using SSH

Fri Jan 17, 2020 6:25 pm

drgeoff wrote:
Fri Jan 17, 2020 6:13 pm
Is this another case of not being aware that Linux does not echo the password characters? Not even asterisks. Just press the keys on the keyboard and finish with the Enter/Retun key.
and make sure CapsLock is not set - its case sensitive!

cbmcclosk
Posts: 3
Joined: Fri Jan 17, 2020 3:22 pm

Re: Unable to connect from Mac to Raspberry Pi4 using SSH

Fri Jan 17, 2020 6:50 pm

Thanks for your response. I should have mentioned that I did exactly as you suggested "very carefully", but still all I get is another request for the password.
I have changed the default password to one that included punctuation type characters as well as alphabetical ones. rebooted the raspberry pi with no luck. I then went back to the default password and that also did not work.

Will keep trying and see what happens I guess.

Again thanks for your help.

jahboater
Posts: 5218
Joined: Wed Feb 04, 2015 6:38 pm
Location: West Dorset

Re: Unable to connect from Mac to Raspberry Pi4 using SSH

Fri Jan 17, 2020 6:53 pm

Are you certain that you have connected to the right host???

wolf.z
Posts: 134
Joined: Thu Dec 24, 2015 8:34 pm

Re: Unable to connect from Mac to Raspberry Pi4 using SSH

Fri Jan 17, 2020 10:00 pm

Mmmmh, maybe you should give the exact syntax of the ssh command you are using plus the users you set up on the Pi?

cbmcclosk
Posts: 3
Joined: Fri Jan 17, 2020 3:22 pm

Re: Unable to connect from Mac to Raspberry Pi4 using SSH

Fri Jan 17, 2020 11:17 pm

Ok here is the commands I used:
Last login: Fri Jan 17 08:26:29 on console


MacBook-Pro:~ <user>$ ssh [email protected] 192.168.0.9
The authenticity of host ' (::1)' can't be established.
ECDSA key fingerprint is SHA256:UMZTaUCnRDYqFjkHnjIqeI3yaV7U4xZi98bV19vBvno.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '' (ECDSA) to the list of known hosts.
Password:
Password:
Password:

I have no other users set up on the RPI, I did change the default password though.

jahboater
Posts: 5218
Joined: Wed Feb 04, 2015 6:38 pm
Location: West Dorset

Re: Unable to connect from Mac to Raspberry Pi4 using SSH

Fri Jan 17, 2020 11:33 pm

cbmcclosk wrote:
Fri Jan 17, 2020 11:17 pm
Ok here is the commands I used:
Last login: Fri Jan 17 08:26:29 on console


MacBook-Pro:~ <user>$ ssh [email protected] 192.168.0.9
The authenticity of host ' (::1)' can't be established.
ECDSA key fingerprint is SHA256:UMZTaUCnRDYqFjkHnjIqeI3yaV7U4xZi98bV19vBvno.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '' (ECDSA) to the list of known hosts.
Password:
Password:
Password:

I have no other users set up on the RPI, I did change the default password though.
Try without the space after the @
"We are in the beginning of a mass extinction, and all you can talk
about is money and fairy tales of eternal economic growth."
- Greta Thunberg

Return to “Beginners”