AETHERCAST INSTALLATION USING MAGIC-DEVICE-TOOL
-
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 directorypls help me , how to solve this?
-
@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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login