this post was submitted on 02 Jan 2024
18 points (95.0% liked)

ChromeOS

359 readers
4 users here now

Community for ChromeOS.

Post about ChromeOS devices:

Post about OS questions, Android apps, Linux usage, Flex, deals

Don't post about:

founded 1 year ago
MODERATORS
 

When you import a private key for an SSH connection in the Terminal app, where are those stored? Can I access them?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] gerbercj@lemmy.world 6 points 10 months ago (1 children)

The key is stored in IndexedDB. You can read more about that at https://developer.chrome.com/docs/devtools/storage/indexeddb.

It's not readily available from the Terminal.app UI, but you can get there. Press Ctrl+Shift+I to open the Inspector. Select Application from the top tabs. On the left, under Storage, go to IndexedDB > indexeddb-fs > nassh-rootfs > directory. Look through the list of fullPath entries to find the appropriate entity. In the Value column, locate the data property and click the memory inspector icon to the right of it.