On my Linux Mint 22.1 Cinnamon Framework 13 Virtual Machine Manager *Linux Mint (trust)* virtual machine.
```
file ~/.android/adbkey
```
```
/home/benjamin/.android/adbkey: OpenSSH private key (no password)
```
[The Server Fault answer 52287](https://serverfault.com/a/52287):
```
ssh-keygen -f ~/.android/adbkey -y > ~/.android/adbkey.pub
```
```
file ~/.android/adbkey.pub
```
```
/home/benjamin/.android/adbkey.pub: OpenSSH RSA public key
```
It is about 381 characters.
Related to [Benjamin-Loison/android/issues/91#issuecomment-2906728633](https://github.com/Benjamin-Loison/android/issues/91#issuecomment-2906728633).
Benjamin_Loison
changed title from `~/.android/adbkey{,.pub}` are respectively present and missing to `~/.android/adbkey{,.pub}` are respectively present and missing on a setup2025-07-25 03:24:20 +02:00
/home/benjamin_loison/.android/adbkey.pub: ASCII text, with very long lines (700)
it seems to be a base 64 encoded binary, according to base64 -d.
On my host:
```bash
file ~/.android/adbkey.pub
```
```
/home/benjamin_loison/.android/adbkey.pub: ASCII text, with very long lines (700)
```
it seems to be a base 64 encoded binary, according to `base64 -d`.
The Android Stack Exchange answer 260388 works fine when delete both adbkey{,.pub}, but not just the latter. When deleted both the phone prompts the new laptop identity.
[The Android Stack Exchange answer 260388](https://android.stackexchange.com/a/260388) works fine when delete both `adbkey{,.pub}`, but not just the latter. When deleted both the phone prompts the new laptop identity.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
On my Linux Mint 22.1 Cinnamon Framework 13 Virtual Machine Manager Linux Mint (trust) virtual machine.
The Server Fault answer 52287:
It is about 381 characters.
Related to Benjamin-Loison/android/issues/91#issuecomment-2906728633.
`~/.android/adbkey{,.pub}` are respectively present and missingto `~/.android/adbkey{,.pub}` are respectively present and missing on a setupOn my host:
it seems to be a base 64 encoded binary, according to
base64 -d.Removing
ssh-rsaprefix to just keep base 64 does not result in the correct hash.Allow results in successful adb connection.
The Android Stack Exchange answer 260388 works fine when delete both
adbkey{,.pub}, but not just the latter. When deleted both the phone prompts the new laptop identity.DuckDuckGo and Google search
Generate "adbkey.pub" from adbkeydoes not seem to help.Revoke USB debugging authorizations helps.
Output: