LittleNooby
Posts: 15
Joined: Sat Sep 19, 2015 1:12 pm

[SOLVED] can't ssh from local PC

Sat Oct 17, 2015 4:16 pm

Hi,

My problem is :

Code: Select all

The authenticity of host '192.168.1.55 (192.168.1.55)' can't be established.
ECDSA key fingerprint is ea:09:8e:fb:fb:3e:ee:ba:57:e0:52:16:e7:e2:36:54.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.55' (ECDSA) to the list of known hosts.
xbian@192.168.1.55's password: 
Permission denied, please try again.
xbian@192.168.1.55's password: 
Permission denied, please try again.
xbian@192.168.1.55's password: 
I can't connect either from terminal (bash) with Ubuntu or from putty [fatal error] (windows 10). I could do it in the past so I really don't understand.
But I can connect from juicySSH (android) or directly onto the pi (not ssh).
I can't possibly have the password wrong. I even changed it to the simplest thing ever and I did try to write it on screen before just to be sure.
I'm not using fail2ban
I don't want to use my PI with a smartphone and the keyboard layout of my pi isn't right so I can't really use it directly and I'd need a SSH access to change the layout. And, what the hell, I can't get an easy way to change the keyboard layout when it should be the easiest thing ever, and I'm not speaking about kodi, just the console.

I have a raspberry pi model B with XBian.


It's driving me mad, please help,

LittleNooby
Last edited by LittleNooby on Sat Oct 17, 2015 8:13 pm, edited 1 time in total.

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: can't ssh from local PC

Sat Oct 17, 2015 5:21 pm

ssh has changed so that a root [uid(0)] user can't login without a key pair.

You'll need to update your /etc/ssh/sshd_config to allow password logins. Or better create a key pair and add your public key to /root/.ssh/authorized_keys.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

LittleNooby
Posts: 15
Joined: Sat Sep 19, 2015 1:12 pm

Re: can't ssh from local PC

Sat Oct 17, 2015 7:26 pm

Thank you kind sir.

I solved my problem thank to your answer. As I didn't know exactly how to do it, I found and used this tutorial : http://www.linuxproblem.org/art_9.html (except that I couldn't used ssh so I just used a memory stick to move public key to the host).

CarlosRoberts
Posts: 2
Joined: Sat Apr 09, 2016 7:12 am

Re: [SOLVED] can't ssh from local PC

Sat Apr 09, 2016 7:17 am

I really don't know why but I had to use the USB key as well. I was required to enter the Pi password which to my knowledge at that moment was empty.

Return to “Troubleshooting”