Jump to content


Photo

FTP Client (not as a plugin)

ET6000

  • Please log in to reply
128 replies to this topic

Re: FTP Client (not as a plugin) #121 doglover

  • Rytec EPG Team
  • 17,011 posts

+639
Excellent

Posted 1 November 2017 - 14:37

Flashed the HD2400.

 

Results: 

 

curl supports now sftp site.

 

yafc is added to the feed.  Thanks.

However the problem with sftp site remains:

The server is unknown. Public key hash: 35:a3:14:8e:2d:4a:c9:07:4b:3f:e0:fc:08:2c:9a:ad:7f:a6:e5:8d
Do you trust the host key? [yes/No] yes
Error Permission denied
yafc> exit

Problem arises even before I can pass user and password to the sftp site.  Just the command yafc sftp:\\siteurl

already produces this.  It looks like the key cannot be stored on the receiver.

Since I do not have a clue as how to resolve this, I still have a problem.

For FTP sites, yafc works normally.

 

Willy

 

PS:  yafc works flawless on OpenPLi 4.0


Edited by doglover, 1 November 2017 - 14:40.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: FTP Client (not as a plugin) #122 WanWizard

  • PLi® Core member
  • 68,592 posts

+1,738
Excellent

Posted 1 November 2017 - 15:21

I've had a look at the source, if you answer "yes", it calls ssh_write_knownhost() to write the session, which is a function in libssh. And that does nothing special, so this is an OS error.

 

What exactly are the permissions on the box?

ls -la ~/.ssh/known_hosts

they should be

-rw-r--r--    1 root     root           744 Sep 29  2016 known_hosts

if not:

chown root:root ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: FTP Client (not as a plugin) #123 doglover

  • Rytec EPG Team
  • 17,011 posts

+639
Excellent

Posted 1 November 2017 - 18:27

root@hd2400:~# ls -la ~/.ssh/known_hosts
-rw-------    1 root     root          1613 Jun 21  2016 /home/root/.ssh/known_hosts
root@hd2400:~#

I performed:

root@hd2400:~# chown root:root ~/.ssh/known_hosts
root@hd2400:~# chmod 644 ~/.ssh/known_hosts
root@hd2400:~# ls -la ~/.ssh/known_hosts
-rw-r--r--    1 root     root          1613 Jun 21  2016 /home/root/.ssh/known_hosts

It seems it does not want to change anything.

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: FTP Client (not as a plugin) #124 doglover

  • Rytec EPG Team
  • 17,011 posts

+639
Excellent

Posted 1 November 2017 - 18:35

Tried to delete the file known_hosts.

Same result.

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: FTP Client (not as a plugin) #125 WanWizard

  • PLi® Core member
  • 68,592 posts

+1,738
Excellent

Posted 1 November 2017 - 19:25

Then I'm afraid it needs to be strace'd to find out exactly what goes wrong. I'm travelling, so not in a position to do that until next week.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: FTP Client (not as a plugin) #126 doglover

  • Rytec EPG Team
  • 17,011 posts

+639
Excellent

Posted 15 December 2017 - 11:08

Any succes yet?

I have not made any progress on this problem.

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: FTP Client (not as a plugin) #127 LraiZer

  • Senior Member
  • 101 posts

+19
Neutral

Posted 15 December 2017 - 21:30

Are you on latest 6.1-rc image? Yafc downloaded from feed using lastest Openpli-6.1-rc image connects ok for me with sftp

root@h3:/var/volatile/tmp# opkg install yafc
Installing libgpg-error0 (1.24) on root.
Downloading http://downloads.openpli.org/feeds/openpli-6.1-rc/mips32el/libgpg-error0_1.24-r0.0_mips32el.ipk.
Installing libgcrypt (1.7.3) on root.
Downloading http://downloads.openpli.org/feeds/openpli-6.1-rc/mips32el/libgcrypt_1.7.3-r0.0_mips32el.ipk.
Installing libssh (0.7.3) on root.
Downloading http://downloads.openpli.org/feeds/openpli-6.1-rc/mips32el/libssh_0.7.3-r0.0_mips32el.ipk.
Installing yafc (1.3.7+git800+98afe0c) on root.
Downloading http://downloads.openpli.org/feeds/openpli-6.1-rc/mips32el/yafc_1.3.7+git800+98afe0c-r0.0_mips32el.ipk.
Configuring libgpg-error0.
Configuring libgcrypt.
Configuring libssh.
Configuring yafc.
root@h3:/var/volatile/tmp# yafc
yafc 1.3.7
This program comes with ABSOLUTELY NO WARRANTY; for details type 'warranty'.
This is free software; type 'copyright' for details.

creating working directory /home/root/.yafc: done
creating directory /home/root/.yafc/trace: done
creating directory /home/root/.yafc/nohup: done

yafc> open sftp://username:password@autobouquets.awiki.org/public_html/wiki
The server is unknown. Public key hash: d5:3c:25:3c:4b:48:74:e2:93:23:bf:96:85:72:41:67:fc:b1:cd:2a
Do you trust the host key? [yes/No] yes
yafc autobouquets.awiki.org:~/public_html/wiki>

Edited by LraiZer, 15 December 2017 - 21:32.


Re: FTP Client (not as a plugin) #128 doglover

  • Rytec EPG Team
  • 17,011 posts

+639
Excellent

Posted 16 December 2017 - 10:32

OK.  Did not try it on RC6.1 yet.

Will do that.  If it is fixed there, great.

 

Willy


Edited by doglover, 16 December 2017 - 10:33.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: FTP Client (not as a plugin) #129 doglover

  • Rytec EPG Team
  • 17,011 posts

+639
Excellent

Posted 16 December 2017 - 14:08

Problem fixed.

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*




Also tagged with one or more of these keywords: ET6000

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users