Hi all,
I have 2 questions:
1. possible ssh issue ?
seems like ssh server is broken in v LibreELEC-Virtual.x86_64-8.0.1.ova :
PHP
. 2017-04-10 20:28:49.883 --------------------------------------------------------------------------
. 2017-04-10 20:28:49.884 WinSCP Verze 5.9.4 (Sestavení 7333) (OS 6.1.7601 Service Pack 1 - Windows 7 Professional)
. 2017-04-10 20:28:49.884 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2017-04-10 20:28:49.884 Log level: Normal, Logging passwords
. 2017-04-10 20:28:49.884 Local account: decak-PC\decak
. 2017-04-10 20:28:49.884 Working directory: C:\Program Files (x86)\WinSCP
. 2017-04-10 20:28:49.884 Process ID: 8532
. 2017-04-10 20:28:49.884 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
. 2017-04-10 20:28:49.884 Time zone: Current: GMT+2, Standard: GMT+1 (Střední Evropa (běžný čas)), DST: GMT+2 (Střední Evropa (letní čas)), DST Start: 26.3.2017, DST End: 29.10.2017
. 2017-04-10 20:28:49.885 Login time: 10. duben 2017 20:28:49
. 2017-04-10 20:28:49.885 --------------------------------------------------------------------------
. 2017-04-10 20:28:49.885 Session name: [email protected] (Ad-Hoc site)
. 2017-04-10 20:28:49.885 Host name: 192.168.1.134 (Port: 22)
. 2017-04-10 20:28:49.885 User name: root (Password: libreelec, Key file: No, Passphrase: No)
. 2017-04-10 20:28:49.885 Tunnel: No
. 2017-04-10 20:28:49.885 Transfer Protocol: SFTP (SCP)
. 2017-04-10 20:28:49.885 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2017-04-10 20:28:49.885 Disable Nagle: No
. 2017-04-10 20:28:49.885 Proxy: None
. 2017-04-10 20:28:49.885 Send buffer: 262144
. 2017-04-10 20:28:49.885 SSH protocol version: 2; Compression: No
. 2017-04-10 20:28:49.885 Bypass authentication: No
. 2017-04-10 20:28:49.885 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2017-04-10 20:28:49.885 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2017-04-10 20:28:49.885 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2017-04-10 20:28:49.885 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2017-04-10 20:28:49.885 Simple channel: Yes
. 2017-04-10 20:28:49.885 Return code variable: Autodetect; Lookup user groups: Auto
. 2017-04-10 20:28:49.885 Shell: default
. 2017-04-10 20:28:49.885 EOL: LF, UTF: Auto
. 2017-04-10 20:28:49.885 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2017-04-10 20:28:49.885 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2017-04-10 20:28:49.885 SFTP Bugs: Auto,Auto
. 2017-04-10 20:28:49.885 SFTP Server: default
. 2017-04-10 20:28:49.885 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2017-04-10 20:28:49.885 Cache directory changes: Yes, Permanent: Yes
. 2017-04-10 20:28:49.885 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2017-04-10 20:28:49.885 DST mode: Unix
. 2017-04-10 20:28:49.885 --------------------------------------------------------------------------
. 2017-04-10 20:28:50.258 Looking up host "192.168.1.134" for SSH connection
. 2017-04-10 20:28:50.258 Connecting to 192.168.1.134 port 22
. 2017-04-10 20:28:50.261 We claim version: SSH-2.0-WinSCP_release_5.9.4
. 2017-04-10 20:28:50.310 Server version: SSH-2.0-OpenSSH_7.3
. 2017-04-10 20:28:50.310 We believe remote version has SSH-2 channel request bug
. 2017-04-10 20:28:50.310 Using SSH protocol version 2
. 2017-04-10 20:28:50.312 Couldn't agree a host key algorithm (available: )
* 2017-04-10 20:28:50.364 (EFatal) Couldn't agree a host key algorithm (available: )
[/php]
With [url=http://archive.libreelec.tv/LibreELEC-Virtual.x86_64-8.0.0.ova]LibreELEC-Virtual.x86_64-8.0.0.ova[/url] and the same configuration I did not encounter any problem:
[code=php]
. 2017-04-10 20:28:54.739 --------------------------------------------------------------------------
. 2017-04-10 20:28:54.740 WinSCP Verze 5.9.4 (Sestavení 7333) (OS 6.1.7601 Service Pack 1 - Windows 7 Professional)
. 2017-04-10 20:28:54.740 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2017-04-10 20:28:54.740 Log level: Normal, Logging passwords
. 2017-04-10 20:28:54.740 Local account: decak-PC\decak
. 2017-04-10 20:28:54.740 Working directory: C:\Program Files (x86)\WinSCP
. 2017-04-10 20:28:54.740 Process ID: 8532
. 2017-04-10 20:28:54.740 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
. 2017-04-10 20:28:54.740 Time zone: Current: GMT+2, Standard: GMT+1 (Střední Evropa (běžný čas)), DST: GMT+2 (Střední Evropa (letní čas)), DST Start: 26.3.2017, DST End: 29.10.2017
. 2017-04-10 20:28:54.740 Login time: 10. duben 2017 20:28:54
. 2017-04-10 20:28:54.740 --------------------------------------------------------------------------
. 2017-04-10 20:28:54.740 Session name: [email protected] (Site)
. 2017-04-10 20:28:54.740 Host name: 192.168.1.238 (Port: 22)
. 2017-04-10 20:28:54.741 User name: root (Password: libreelec, Key file: No, Passphrase: No)
. 2017-04-10 20:28:54.741 Tunnel: No
. 2017-04-10 20:28:54.741 Transfer Protocol: SFTP (SCP)
. 2017-04-10 20:28:54.741 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2017-04-10 20:28:54.741 Disable Nagle: No
. 2017-04-10 20:28:54.741 Proxy: None
. 2017-04-10 20:28:54.741 Send buffer: 262144
. 2017-04-10 20:28:54.741 SSH protocol version: 2; Compression: No
. 2017-04-10 20:28:54.741 Bypass authentication: No
. 2017-04-10 20:28:54.741 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2017-04-10 20:28:54.741 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2017-04-10 20:28:54.741 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2017-04-10 20:28:54.741 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2017-04-10 20:28:54.741 Simple channel: Yes
. 2017-04-10 20:28:54.741 Return code variable: Autodetect; Lookup user groups: Auto
. 2017-04-10 20:28:54.741 Shell: default
. 2017-04-10 20:28:54.741 EOL: LF, UTF: Auto
. 2017-04-10 20:28:54.741 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2017-04-10 20:28:54.741 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2017-04-10 20:28:54.741 SFTP Bugs: Auto,Auto
. 2017-04-10 20:28:54.741 SFTP Server: default
. 2017-04-10 20:28:54.741 Local directory: C:\Users\decak\Documents, Remote directory: /storage, Update: Yes, Cache: Yes
. 2017-04-10 20:28:54.741 Cache directory changes: Yes, Permanent: Yes
. 2017-04-10 20:28:54.741 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2017-04-10 20:28:54.741 DST mode: Unix
. 2017-04-10 20:28:54.741 --------------------------------------------------------------------------
. 2017-04-10 20:28:54.803 Looking up host "192.168.1.238" for SSH connection
. 2017-04-10 20:28:54.803 Connecting to 192.168.1.238 port 22
. 2017-04-10 20:28:54.804 We claim version: SSH-2.0-WinSCP_release_5.9.4
. 2017-04-10 20:28:54.856 Server version: SSH-2.0-OpenSSH_7.3
. 2017-04-10 20:28:54.856 We believe remote version has SSH-2 channel request bug
. 2017-04-10 20:28:54.856 Using SSH protocol version 2
. 2017-04-10 20:28:54.857 Have a known host key of type ssh-ed25519
. 2017-04-10 20:28:54.858 Doing ECDH key exchange with curve Curve25519 and hash SHA-256
. 2017-04-10 20:28:55.271 Server also has ecdsa-sha2-nistp256/ssh-rsa host keys, but we don't know any of them
. 2017-04-10 20:28:55.273 Host key fingerprint is:
. 2017-04-10 20:28:55.273 ssh-ed25519 256 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
. 2017-04-10 20:28:55.273 Verifying host key ssh-ed25519 0x63fcaf219xxad82b b14bfaxxxxbac79c 11cxxxxxxxxfa21e f1f256d0xxxxxxxx ,0x7d5f7xxxxx8341f8 d0d1f5dexxxxxxxx 6e94bxxxxxx7ca1 37d4a151e07b30fe with fingerprint ssh-ed25519 256 31:ff:50:54:d9:6a:9e:cc:95:ef:78:ac:8b:a3:98:3d
. 2017-04-10 20:28:55.313 Host key matches cached key
. 2017-04-10 20:28:55.314 Initialised AES-256 SDCTR client->server encryption
. 2017-04-10 20:28:55.314 Initialised HMAC-SHA-256 client->server MAC algorithm
. 2017-04-10 20:28:55.314 Initialised AES-256 SDCTR server->client encryption
. 2017-04-10 20:28:55.314 Initialised HMAC-SHA-256 server->client MAC algorithm
. 2017-04-10 20:28:55.358 Pageant is running. Requesting keys.
. 2017-04-10 20:28:55.359 Pageant has 1 SSH-2 keys
! 2017-04-10 20:28:55.359 Using username "root".
. 2017-04-10 20:28:55.369 Server offered these authentication methods: publickey,password,keyboard-interactive
. 2017-04-10 20:28:55.369 Trying Pageant key #0
. 2017-04-10 20:28:55.369 Server refused our key
. 2017-04-10 20:28:55.369 Server offered these authentication methods: publickey,password,keyboard-interactive
. 2017-04-10 20:28:55.369 Attempting keyboard-interactive authentication
. 2017-04-10 20:28:55.370 Server refused keyboard-interactive authentication
. 2017-04-10 20:28:55.370 Server offered these authentication methods: publickey,password,keyboard-interactive
. 2017-04-10 20:28:55.370 Prompt (password, "SSH password", <no instructions>, "&Heslo:")
. 2017-04-10 20:28:55.370 Using stored password.
. 2017-04-10 20:28:55.423 Sent password
. 2017-04-10 20:28:55.434 Access granted
. 2017-04-10 20:28:55.434 Opening session as main channel
. 2017-04-10 20:28:55.644 Opened main channel
. 2017-04-10 20:28:55.688 Started a shell/command
. 2017-04-10 20:28:55.727 --------------------------------------------------------------------------
. 2017-04-10 20:28:55.727 Using SFTP protocol.
. 2017-04-10 20:28:55.728 Doing startup conversation with host.
> 2017-04-10 20:28:55.782 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2017-04-10 20:28:55.783 Type: SSH_FXP_VERSION, Size: 150, Number: -1
. 2017-04-10 20:28:55.783 SFTP version 3 negotiated.
. 2017-04-10 20:28:55.783 Unknown server extension [email protected]="1"
. 2017-04-10 20:28:55.783 Supports [email protected] extension version "2"
. 2017-04-10 20:28:55.783 Unknown server extension [email protected]="2"
. 2017-04-10 20:28:55.783 Supports [email protected] extension version "1"
. 2017-04-10 20:28:55.783 Unknown server extension [email protected]="1"
. 2017-04-10 20:28:55.783 We believe the server has signed timestamps bug
. 2017-04-10 20:28:55.783 We will use UTF-8 strings until server sends an invalid UTF-8 string as with SFTP version 3 and older UTF-8 strings are not mandatory
. 2017-04-10 20:28:55.783 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2017-04-10 20:28:55.783 Changing directory to "/storage".
. 2017-04-10 20:28:55.783 Getting real path for '/storage'
> 2017-04-10 20:28:55.783 Type: SSH_FXP_REALPATH, Size: 17, Number: 16
< 2017-04-10 20:28:55.784 Type: SSH_FXP_NAME, Size: 37, Number: 16
. 2017-04-10 20:28:55.784 Real path is '/storage'
. 2017-04-10 20:28:55.784 Trying to open directory "/storage".
> 2017-04-10 20:28:55.784 Type: SSH_FXP_LSTAT, Size: 17, Number: 263
< 2017-04-10 20:28:55.784 Type: SSH_FXP_ATTRS, Size: 37, Number: 263
. 2017-04-10 20:28:55.784 Getting current directory name.
. 2017-04-10 20:28:55.987 Listing directory "/storage".
> 2017-04-10 20:28:55.987 Type: SSH_FXP_OPENDIR, Size: 17, Number: 523
< 2017-04-10 20:28:55.988 Type: SSH_FXP_HANDLE, Size: 13, Number: 523
> 2017-04-10 20:28:55.988 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2017-04-10 20:28:55.989 Type: SSH_FXP_NAME, Size: 1635, Number: 780
> 2017-04-10 20:28:55.989 Type: SSH_FXP_READDIR, Size: 13, Number: 1036
< 2017-04-10 20:28:56.037 Type: SSH_FXP_STATUS, Size: 28, Number: 1036
< 2017-04-10 20:28:56.037 Status code: 1
> 2017-04-10 20:28:56.037 Type: SSH_FXP_CLOSE, Size: 13, Number: 1284
. 2017-04-10 20:28:56.037 lost+found;d;0;2017-02-21T19:56:41.000Z;3;"root" [0];"root" [0];rwx------;0
. 2017-04-10 20:28:56.037 screenshots;d;0;2017-04-10T20:13:27.000Z;3;"root" [0];"root" [0];rwxr-xr-x;0
. 2017-04-10 20:28:56.037 .update;d;0;2017-04-10T20:13:27.000Z;3;"root" [0];"root" [0];rwxr-xr-x;2
. 2017-04-10 20:28:56.037 backup;d;0;2017-04-10T20:13:27.000Z;3;"root" [0];"root" [0];rwxr-xr-x;0
. 2017-04-10 20:28:56.037 .ssh;d;0;2017-04-10T20:13:27.000Z;3;"root" [0];"root" [0];rwx------;2
. 2017-04-10 20:28:56.037 videos;d;0;2017-04-10T20:13:27.000Z;3;"root" [0];"root" [0];rwxr-xr-x;0
. 2017-04-10 20:28:56.037 pictures;d;0;2017-04-10T20:13:27.000Z;3;"root" [0];"root" [0];rwxr-xr-x;0
. 2017-04-10 20:28:56.038 .cache;d;0;2017-04-10T18:13:33.000Z;3;"root" [0];"root" [0];rwxr-xr-x;2
. 2017-04-10 20:28:56.038 .fluxbox;d;0;2017-04-10T20:13:29.000Z;3;"root" [0];"root" [0];rwx------;2
. 2017-04-10 20:28:56.038 music;d;0;2017-04-10T20:13:27.000Z;3;"root" [0];"root" [0];rwxr-xr-x;0
. 2017-04-10 20:28:56.038 ..;d;0;2017-02-21T19:46:01.000Z;3;"root" [0];"root" [0];rwxrwxr-x;0
. 2017-04-10 20:28:56.038 .config;d;0;2017-04-10T20:13:30.000Z;3;"root" [0];"root" [0];rwxr-xr-x;2
. 2017-04-10 20:28:56.038 tvshows;d;0;2017-04-10T20:13:27.000Z;3;"root" [0];"root" [0];rwxr-xr-x;0
. 2017-04-10 20:28:56.038 .kodi;d;0;2017-04-10T20:13:29.000Z;3;"root" [0];"root" [0];rwxr-xr-x;2
. 2017-04-10 20:28:56.137 Startup conversation with host finished.
[/php]
[b]2. How to setup custom locale in LibreELEC ?[/b]
I would like to setup locale
[code]
cs_CZ.UTF-8
Display More
in my kodi addon.
There are 2 available locales in LibreELEC:
[code=php]
LibreELEC800:~ # locale -a
C
POSIX
LibreELEC800:~ #
[/php]
and locale-gen is missing
[code=php]
LibreELEC800:/ # find -name "locale*"
./usr/bin/locale
./usr/bin/localedef
./usr/lib/python2.7/locale.pyo
./usr/share/X11/locale
./usr/share/X11/locale/locale.alias
./usr/share/X11/locale/locale.dir
./usr/share/i18n/locales
LibreELEC800:/ #
[/php]
How to add cs_CZ.UTF-8 to available locales ?
Thank you very much for clarification.