tinyutils icon indicating copy to clipboard operation
tinyutils copied to clipboard

SSH gets unknown user error

Open rtbentley opened this issue 12 years ago • 4 comments

I may be jumping the gun since ssh is still being tested, but I wanted to report this:

/ $ source ~/.profile
/ $ ssh [email protected]
ssh: Exited: Unknown own user
/ $ which ssh
/data/data/champion.tinyutils/usr/bin/ssh
/ $ whoami
whoami: unknown uid 10144
/ $

Any invocation of ssh gets basically that same response. I get the same result on a rooted Nexus 7 and an unrooted Samsung Stellar.

(I know and use some of the alternatives, so there is no hurry. But I am really excited to see all the open source command line power Tiny Utils is promising to unleash even without root. The ssh/scp combo would be a wonderful addition.)

rtbentley avatar Jun 25 '13 04:06 rtbentley

Can you try running dropbear? Can you ls -l /data/data/champion.tinyutils/usr/bin/ssh ? I want to make sure what it is linked to.

corbinlc avatar Jul 08 '13 03:07 corbinlc

Running dropbear by itself returns nothing and and I get a new prompt. I run dropbear -E with these results:

/ $ dropbear -E
[9150] Jul 08 04:26:36 Failed reading '/etc/dropbear/dropbear_rsa_host_key', disabling RSA
[9150] Jul 08 04:26:36 Failed reading '/etc/dropbear/dropbear_dss_host_key', disabling DSS
[9150] Jul 08 04:26:36 Premature exit: No hostkeys available

The results from ls indicate bin/ssh is a symlink to sbin/dropbear:

/ $ ls -l /data/data/champion.tinyutils/usr/bin/ssh
lrwxrwxrwx    1 10144    10144           54 Jun 25 03:31 /data/data/champion.tinyutils/usr/bin/ssh -> /data/data/champion.tinyutils/usr/bin/../sbin/dropbear

rtbentley avatar Jul 08 '13 04:07 rtbentley

I'm having the same problem. Unknown user error for ssh or scp on galaxy note2. Will gladly repurchase if there is a fix for this.

stgnet avatar Aug 10 '13 15:08 stgnet

I'm running into this issue on my Galaxy S5 Active. Results are pretty much identical to rbently's. Any ideas?

mikejhill avatar Jan 26 '15 18:01 mikejhill