Hey Leute, sorry, ich war 2 Tage kpl. offline.
chr123 schrieb:
Wenn die Box in der Netzwerkumgebung erscheint, dann läuft vermutlich auch ein smb Server. Ggf ist auch ftp aktiv. Das könnte man anstelle von sshfs auch nehmen.
Du hast absolut Recht, das wäre einfacher, aber in Kodi schaffe ich es nicht diesen Netzwerk zu verbinden, k.A. warum...ich habe etliche Einstellungen versucht. Im Nautilus wird die Platte nach dem Anbinden (User Root / PW [leer] als sftp://gbx34k.local/ angezeigt.
Also...im /etc/fstab folgende Zeile eingefügt.
sshfs#root@192.168.1.109:/ /mnt/x3-platte fuse allow_other,default_permissions 0 0
mit
sudo mount -a
getestet, funktioniert.
Auf dem Xubuntu htpc Rechner habe ich nun wie folgt ein passwortloses Schlüsselpaar erzeugt, doch es funktioniert noch nicht.
ssh-keygen -b 4096
Generating public/private rsa key pair.
Enter file in which to save the key (/home/htpc/.ssh/id_rsa): /home/htpc/.ssh/x3_key_rsa
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/htpc/.ssh/x3_key_rsa
Your public key has been saved in /home/htpc/.ssh/x3_key_rsa.pub
The key fingerprint is:
SHA256:0J8RJb9wxuBPHsIuePegf3YC0rcWEJAd/oXhSYfuFDI htpc@htpc
The key's randomart image is:
+---[RSA 4096]----+
| .+=o+.. |
| ..+EOo= |
| . . B=@.. |
| o o.%o+ |
| . S.*+= |
| ..+oo+ |
| .. o.o |
| . * . |
| .+ o |
+----[SHA256]-----+
danach
Key in AES-CBC verschlüsselt
cat .ssh/x3_key_rsa
folgt (wenn ich richtig verstehe), x3_key_rsa.pub auf die TV-Box kopieren
ssh-copy-id -i .ssh/x3_key_rsa.pub x3_platte@192.168.1.109
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: ".ssh/x3_key_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
x3_platte@192.168.1.109's password:
Permission denied, please try again.
x3_platte@192.168.1.109's password:
Permission denied, please try again.
x3_platte@192.168.1.109's password:
x3_platte@192.168.1.109: Permission denied (publickey,password).
Was mache ich noch falsch?