JeffLIrion / adb_shell

A Python implementation of ADB with shell and FileSync functionality.
Apache License 2.0
530 stars 60 forks source link

How do you find the path to android ADB rsa key? #151

Closed alexbgameson closed 3 years ago

alexbgameson commented 3 years ago

How do you know the path to android ADB rsa key?

jvmk commented 3 years ago

They are placed under ~/.android/ by default IIRC.

JeffLIrion commented 3 years ago

They are placed under ~/.android/ by default IIRC.

Yep.

You can also generate a key if you don't have one already.

from adb_shell.auth.keygen import keygen

keygen("/some/directory/adbkey")