Trying to ssh into eliveuser - Permission denied (publickey)

Hi.

Having an old (like anchient from around 2002) Toshiba Satelite that can run Elive 3.8.24 pretty well.

While running Elive in live modus, I tested to see if I could log in via ssh.

From the other computer - here is the commands I tried (I might have done some wrong to mess up), but I didn't have any success.

Blockquote
[sprinterdriver@fedora ~]$ ssh eliveuser@192.168.1.5
The authenticity of host '192.168.1.5 (192.168.1.5)' can't be established.
ED25519 key fingerprint is SHA256:QTw6Z1QaP/R9/oCQa3OfP79KX3p7I/r7IWDS9I/P+ow.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? y
Please type 'yes', 'no' or the fingerprint: no
Host key verification failed.
[sprinterdriver@fedora ~]$ ssh eliveuser@192.168.1.5
The authenticity of host '192.168.1.5 (192.168.1.5)' can't be established.
ED25519 key fingerprint is SHA256:QTw6Z1QaP/R9/oCQa3OfP79KX3p7I/r7IWDS9I/P+ow.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.1.5' (ED25519) to the list of known hosts.
eliveuser@192.168.1.5: Permission denied (publickey).
[sprinterdriver@fedora ~]$
[sprinterdriver@fedora ~]$ ssh eliveuser@192.168.1.5
eliveuser@192.168.1.5: Permission denied (publickey).
[sprinterdriver@fedora ~]$ sudo ssh eliveuser@192.168.1.5
[sudo] password for sprinterdriver:
The authenticity of host '192.168.1.5 (192.168.1.5)' can't be established.
ED25519 key fingerprint is SHA256:QTw6Z1QaP/R9/oCQa3OfP79KX3p7I/r7IWDS9I/P+ow.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? y
Please type 'yes', 'no' or the fingerprint: y
Please type 'yes', 'no' or the fingerprint: yes
Warning: Permanently added '192.168.1.5' (ED25519) to the list of known hosts.
eliveuser@192.168.1.5: Permission denied (publickey).
Blockquote

Did I mess it up when I answered no to the first question of fingerprint ?

No.

If you have "Permission denied (publickey)" that's because your SSH is configured to not allow password login. Which is a good thing.

Look up a guide to SSH keys or if you really want, enable pasword protection.

If you are connecting to an already installed installation...

...your username is likely not eliveuser.

If you are connecting to a Live-Mode...

...Thanatermesis may have disabled p/w login via ssh by default, I'm not sure

1 Like

@TheTechRobo has some very sane remarks where I'd add:

The live version is setup fairly securely and in general it's easier to ssh from the live version to a fixed, installed machine than vice versa.

Once Elive is installed to HD/SSD it will be easier as you will have created a user of your own that's able to save stuff ... something the live version will only do if you have persistence enabled.

Considering how well Elive runs in live mode .... it seems worthwhile to install it and run it even faster.
So why not and join the club? :w00t:

Well, I'm indeed joining the club, the installer is running as I writing this.

The reason why I asked was I was thinking about making some backup of some files before installation and I taught ssh/rsync sound like a good idea, except didn't work. So I went the easy way using a usb stick instead.

Btw: have an indea for future improvement of the installer: The first attempt I made only a 8GB partition for /root and it turned out being too small (i.e when installation procedure had being running for some time, it gave a message that there is very little space left).
So I had to go back and re-do the partitions.
How about Elive installer doing a quick check on the available space for /root before it start to process ?

We've just recently had a similar thought a while back but the reality
is ..... that once you partition yourself, you're on your own i.e this
cannot be checked after the fact. It's better to accept the default
choices made by the installer.

Albeit partition size can be checked beforehand we want to minimize
pop-ups as much as possible. So the view is that:"Anyone who makes a
personal partition choice knows what to do and has read up on what's
going to be needed".

Considering you weren't, after all, totally lost when receiving that
message ....... I rest my case. :smiley:

So .....

Welcome to the Elive club and don't hesitate to ask if you stumble across
what you consider a peculiarity or a bug and do have a peak at the
'Howto' section of the forum. There are some helpful tips and tricks there.