[1] MLD-5.x / Systems / Raspberry PI / authorized_keys
 

Offline laurent

  • Newbie
  • *
  • Posts: 6
    • View Profile
authorized_keys
« on: January 02, 2019, 14:55:36 »
Ich wollte ssh mit authorized_keys erweitern.
Aber bei MLD 5.4 gibt es keine configs unter /etc/ssh wie bei anderen distributionen.

Habe die configs dann selber angelegt.Aber irgendwie wird mein key immer abgewiesen.

Ist /etc/ssh richtig oder ist es ein anderer Ort?

laurent

Offline Sganarelle

  • Newbie
  • *
  • Posts: 16
  • Sorry, I must use GoogleTranslate.
    • View Profile
authorized_keys
« Reply #1 on: January 02, 2019, 15:35:03 »
Hello,

Sorry for the English, I use GoogleTranslate to read the forum  :(

It's not a problem. You could put your public key in "/root/.ssh". I 've done it like this :

Code: [Select]
my-login@computer:~/$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@mld
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/my-login/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@mld's password:
Permission denied, please try again.
root@mld's password:

Number of key(s) added: 1

Now try logging into the machine, with:   "ssh 'root@mld'"
and check to make sure that only the key(s) you wanted were added.

my-login@computer:~$ ssh root@mld


BusyBox v1.25.1 (2018-08-27 03:43:10 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

MLD>

I hope that this could help you.

For the usual "/etc/ssh" directory, it is necessary to manage the SSH access by user, group or other things ... And I don't know how to do that.
Raspberry 3 (Rpi3) + MLD 5.4 + USB Drive
DVB card Sundtek MediaPro III only for TNT (DVB-T)

[1] MLD-5.x / Systems / Raspberry PI / authorized_keys
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.