Page 1 of 1

Unable to connect from Mac to Raspberry Pi4 using SSH

Posted: Fri Jan 17, 2020 3:32 pm
by cbmcclosk
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.

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

Posted: Fri Jan 17, 2020 6:13 pm
by drgeoff
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.

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

Posted: Fri Jan 17, 2020 6:25 pm
by jahboater
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!

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

Posted: Fri Jan 17, 2020 6:50 pm
by cbmcclosk
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.

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

Posted: Fri Jan 17, 2020 6:53 pm
by jahboater
Are you certain that you have connected to the right host???

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

Posted: Fri Jan 17, 2020 10:00 pm
by wolf.z
Mmmmh, maybe you should give the exact syntax of the ssh command you are using plus the users you set up on the Pi?

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

Posted: Fri Jan 17, 2020 11:17 pm
by cbmcclosk
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.

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

Posted: Fri Jan 17, 2020 11:33 pm
by jahboater
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 @