Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Linux Based Receivers
Dreambox Support Forum
Remotely login to Dreambox??
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="td03-5" data-source="post: 686849" data-attributes="member: 188069"><p>Hi Folks,</p><p></p><p>Here are the final parts of the SSH jigsaw for the DM7000S.</p><p>First to apologise and correct a couple of errors in my previous post:</p><p></p><p>Item 16. should read:</p><p>chmod 644 /var/.ssh/authorized_keys</p><p></p><p>and 3 lines further on the line should read:</p><p>Item 16. is also important and the secure SSH session cannot be established with 666.</p><p></p><p>Item 17. the second 'Where:' line should read:</p><p>-i = use identity file</p><p></p><p>Also note that with the system I am about to describe the FTP tunnel of local port 7021 to Dreambox port 21 is no longer required.</p><p></p><p>As before, most of the answers were in the particular dropbear implementation I was using. I have now found a DM7000 implementation of dropbear that supports both tunneling and SFTP (secure file transfer protocol). I have attached a zip file to this post containing this version of 'dropbearmulti' plus 'sftp-server' (dropbear052&sftp-server.zip).</p><p></p><p>Follow steps 1 to 4 of my previous post but use the new file dropbear052&sftp-server.zip.</p><p>Place both files (dropbearmulti and sftp-server) in Dreambox folder /sbin and then:</p><p>[CODE]</p><p>chmod 755 /sbin/dropbearmulti [Enter]</p><p>[/CODE]</p><p>and</p><p>[CODE]</p><p>chmod 755 /sbin/sftp-server [Enter]</p><p>[/CODE]</p><p></p><p>Now create a new Dreambox folder called 'libexec'</p><p>[CODE]</p><p>mkdir /libexec [Enter]</p><p>[/CODE]</p><p>and place a symbolic link to sftp-server in it:</p><p>[CODE]</p><p>cd /libexec [Enter]</p><p>ln -s /sbin/sftp-server sftp-server [Enter]</p><p>[/CODE]</p><p></p><p>Follow my previous post until you reach 17. which now becomes:</p><p>[CODE]</p><p>ssh -i /home/user/.ssh/rsakey -p 2222 -L 7080:localhost:80 root@dreambox_dyndns</p><p>[/CODE]</p><p></p><p>Continue to the end of my previous post and as before we have secure http and a secure console (telnet like) session.</p><p>The audio streaming problem is fixed by tunneling the stream port through the SSH link so 17. changes again to become:</p><p>[CODE]</p><p>ssh -i /home/user/.ssh/rsakey -p 2222 -L 31343:192.168.0.24:31343 -L 7080:localhost:80 root@dreambox_dyndns</p><p>or</p><p>ssh -i /home/user/.ssh/rsakey -p 2222 -L 31338:192.168.0.24:31338 -L 7080:localhost:80 root@dreambox_dyndns</p><p>[/CODE]</p><p>This requires my playlist auto edit script 'vlcplsed' which can be found in another thread.</p><p>It needs to be modified to change the Dreambox LAN IP to 'localhost' instead of to the 'Dreambox_DynDNS'.</p><p></p><p>The FTP problem is fixed by using SFTP. I expect PuTTY will easily be able to use this, now that the Dreambox dropbear implementation (attached) includes support for sftp and an sftp-server.</p><p></p><p>However, for gFTP:</p><p>Open gFTP and enter:</p><p>Host: dreambox_dyndns Port: 2222 User: root Pass: Dreambox_password click drop-down and change FTP to SSH2</p><p>(Where: dreambox_dyndns = your DynDNS Domain Name or Fixed Internet IP</p><p>and 2222 = the port you have chosen to open for SSH)</p><p>Next:-</p><p>Click 'FTP', click 'Options', click 'SSH', in 'SSH Extra Params' enter: -i /home/user/.ssh/rsakey</p><p>un-check 'Need SSH User/Pass' and click 'Apply', click OK.</p><p></p><p>Now click the 'Connect' icon (two terminals) and the SFTP session should start as easily as an FTP session.</p><p></p><p>Note, that the SFTP session is independent of the SSH session established (above) for http. gFTP establishes its own SSH session which can run with or without the first SSH session.</p><p></p><p>Best wishes, John.</p></blockquote><p></p>
[QUOTE="td03-5, post: 686849, member: 188069"] Hi Folks, Here are the final parts of the SSH jigsaw for the DM7000S. First to apologise and correct a couple of errors in my previous post: Item 16. should read: chmod 644 /var/.ssh/authorized_keys and 3 lines further on the line should read: Item 16. is also important and the secure SSH session cannot be established with 666. Item 17. the second 'Where:' line should read: -i = use identity file Also note that with the system I am about to describe the FTP tunnel of local port 7021 to Dreambox port 21 is no longer required. As before, most of the answers were in the particular dropbear implementation I was using. I have now found a DM7000 implementation of dropbear that supports both tunneling and SFTP (secure file transfer protocol). I have attached a zip file to this post containing this version of 'dropbearmulti' plus 'sftp-server' (dropbear052&sftp-server.zip). Follow steps 1 to 4 of my previous post but use the new file dropbear052&sftp-server.zip. Place both files (dropbearmulti and sftp-server) in Dreambox folder /sbin and then: [CODE] chmod 755 /sbin/dropbearmulti [Enter] [/CODE] and [CODE] chmod 755 /sbin/sftp-server [Enter] [/CODE] Now create a new Dreambox folder called 'libexec' [CODE] mkdir /libexec [Enter] [/CODE] and place a symbolic link to sftp-server in it: [CODE] cd /libexec [Enter] ln -s /sbin/sftp-server sftp-server [Enter] [/CODE] Follow my previous post until you reach 17. which now becomes: [CODE] ssh -i /home/user/.ssh/rsakey -p 2222 -L 7080:localhost:80 root@dreambox_dyndns [/CODE] Continue to the end of my previous post and as before we have secure http and a secure console (telnet like) session. The audio streaming problem is fixed by tunneling the stream port through the SSH link so 17. changes again to become: [CODE] ssh -i /home/user/.ssh/rsakey -p 2222 -L 31343:192.168.0.24:31343 -L 7080:localhost:80 root@dreambox_dyndns or ssh -i /home/user/.ssh/rsakey -p 2222 -L 31338:192.168.0.24:31338 -L 7080:localhost:80 root@dreambox_dyndns [/CODE] This requires my playlist auto edit script 'vlcplsed' which can be found in another thread. It needs to be modified to change the Dreambox LAN IP to 'localhost' instead of to the 'Dreambox_DynDNS'. The FTP problem is fixed by using SFTP. I expect PuTTY will easily be able to use this, now that the Dreambox dropbear implementation (attached) includes support for sftp and an sftp-server. However, for gFTP: Open gFTP and enter: Host: dreambox_dyndns Port: 2222 User: root Pass: Dreambox_password click drop-down and change FTP to SSH2 (Where: dreambox_dyndns = your DynDNS Domain Name or Fixed Internet IP and 2222 = the port you have chosen to open for SSH) Next:- Click 'FTP', click 'Options', click 'SSH', in 'SSH Extra Params' enter: -i /home/user/.ssh/rsakey un-check 'Need SSH User/Pass' and click 'Apply', click OK. Now click the 'Connect' icon (two terminals) and the SFTP session should start as easily as an FTP session. Note, that the SFTP session is independent of the SSH session established (above) for http. gFTP establishes its own SSH session which can run with or without the first SSH session. Best wishes, John. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Linux Based Receivers
Dreambox Support Forum
Remotely login to Dreambox??
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top