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

ChromeOS

359 readers
2 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
[–] [email protected] 3 points 10 months ago (1 children)

Should be in your home directory in the hidden.ssh folder.

To get there:

cd ~/.ssh

[–] [email protected] 3 points 10 months ago (1 children)

That's where applications in the Linux container will look for them. But in the Terminal app. But I'm talking about SSH connections managed by the Terminal app. In the Identity section of the connection, you can click the Import button and get a file chooser to select a private key file (like by going to Linux files, showing hidden files, and picking a file from ~/.ssh). When you do this Import it copies the file somewhere and when you open the connection it uses that copy. I'm looking for where those copies are stored, because I don't have a particular key in my ~/.ssh but I want to use it with an sshfs connection.

[–] [email protected] 1 points 10 months ago (1 children)

Ah. Apologies. I misunderstood what you were looking for, and unfortunately don’t have an answer to the question.

[–] [email protected] 2 points 10 months ago (1 children)

Your reply was appreciated none-the-less!

[–] [email protected] 1 points 10 months ago

Thank you. I hope you get a useful answer!