Magisk-Modules-Repo / ssh

ssh
177 stars 34 forks source link

Can't login - android 10 #22

Closed mb300sd closed 4 years ago

mb300sd commented 4 years ago

I can't login as root or shell. It works on my old phone, but not my new one with Android 10.

Placed key in both /data/ssh/root/.ssh/authorized_keys and /data/ssh/shell/.ssh/authorized_keys

chmodded both to 0600.

Is there a way to see the ssh log?

jbsky commented 4 years ago

Hello,

Please, connect with adb shell, and check your file if has a the format. I look my public key in authorized_keys files with a space between each charactere. So, it can't working...

Best regard.

Julien

mb300sd commented 4 years ago

Oh, I forgot to close this.

My dumb a** was SSHing the wrong device the whole time.