• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

AETHERCAST INSTALLATION USING MAGIC-DEVICE-TOOL

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 951 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V Offline
      viper
      last edited by 19 Nov 2017, 15:05

      i have a bq aquaris e5 hd working with ubports, i was trying to enable aethercast using magic-dev-tool, but i encountered following error:

      Device detected !
      Host [localhost]:2222 not found in /root/.ssh/known_hosts
      ls: cannot access '/root/.ssh/*.pub': No such file or directory
      Pseudo-terminal will not be allocated because stdin is not a terminal.
      Warning: Permanently added '[localhost]:2222' (RSA) to the list of known hosts.
      Permission denied (publickey).

      Host [localhost]:2222 not found in /root/.ssh/known_hosts
      ls: cannot access '/root/.ssh/*.pub': No such file or directory

      pls help me , how to solve this?

      H 1 Reply Last reply 20 Nov 2017, 16:11 Reply Quote 0
      • H Offline
        halucigenia @viper
        last edited by 20 Nov 2017, 16:11

        @viper do you mean that you are trying to use the screencast option of magic-device-tool?

        I have not used it myself but it looks like you need to have set up a public key for ssh for it to work.

        Here's the explanation of how it works from Github

        "This tool will start ssh on your connected Ubuntu Touch device, forward a local
        port to the device, copy your ssh id down to the device (so you can log in
        without a password), and then ssh into the device through the locally forwarded
        port.

        This results in a very nice shell, which for example can display the output of
        'top' at the correct terminal size, rather than being stuck at 80x25 like 'adb
        shell'

        Like ssh-copy-id, this script will push down the newest ssh key it can find in
        ~/.ssh/*.pub, so if you find the wrong key being pushed down, simply use 'touch'
        to make your desired key the newest one, and then this script will find it.

        The '--copy' option will make it copy your .bashrc down to the device, giving
        you the benefit of preserving your $PS1 (prompt) and any aliases and functions
        you may have defined on your host system. "

        Here's some documentation on setting up SSH/OpenSSH/Keys from Ubuntu.

        I hope that this helps.

        Nexus4, Meizu MX4, Meizu Pro5, PinePhone UBPorts edition, PineTab, Pixel 3a XL

        1 Reply Last reply Reply Quote 0
        1 out of 2
        • First post
          1/2
          Last post