Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] Where is my SSH private key so i can use it to login Xbian via FileZilla?
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: Where is my SSH private key so i can use it to login Xbian via FileZilla?
25th Sep, 2024, 07:51 PM
Post: #8
stripechange Offline
Banned
Posts: 1
Joined: Sep 2024
RE: Where is my SSH private key so i can use it to login Xbian via FileZilla?
The file you're looking for is not necessarily a PEM or PPK file, but rather an OpenSSH private key file, which is typically named id_rsa or id_ed25519.

By default, the OpenSSH private key file is stored in the ~/.ssh directory of the user account that generated the key. In your case, since you have SSH passwordless access to the Xbian root account, you can assume that the private key file is stored in /root/.ssh on the Xbian machine.

However, it's not actually there! The reason is that id_rsa and id_ed25519 files are usually generated by ssh-keygen and are not stored in the default locations. Instead, they are generated in a temporary directory and then moved to the ~/.ssh directory.

To find the location of your private key file, you can try the following:

Run ssh-keygen -L -f /root/.ssh/id_rsa (or id_ed25519) on the Xbian machine. This will list the files that are referenced by the key. If you find a file with a name like id_rsa or id_ed25519, that's likely your private key file.
Run find /root -name id_rsa (or id_ed25519) on the Xbian machine to search for files with those names recursively. moto x3m
Check your ~/.ssh directory on your Debian user PC to see if you have a copy of the private key file there. If you do, you can use it to connect to Xbian using FileZilla.
Once you find the location of your private key file, you can use it in FileZilla by selecting "OpenSSH Private Key" as the authentication method and specifying the path to the file.
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


Messages In This Thread
Where is my SSH private key so i can use it to login Xbian via FileZilla? - postcd - 20th Apr, 2023, 04:52 AM
RE: Where is my SSH private key so i can use it to login Xbian via FileZilla? - gkusiak - 21st Apr, 2023, 03:05 AM
RE: Where is my SSH private key so i can use it to login Xbian via FileZilla? - postcd - 21st Apr, 2023, 03:30 AM
RE: Where is my SSH private key so i can use it to login Xbian via FileZilla? - grandcanyon - 26th Apr, 2023, 01:46 PM
RE: Where is my SSH private key so i can use it to login Xbian via FileZilla? - postcd - 28th Apr, 2023, 12:59 AM
RE: Where is my SSH private key so i can use it to login Xbian via FileZilla? - felixandrea - 17th Sep, 2024, 09:21 PM
RE: Where is my SSH private key so i can use it to login Xbian via FileZilla? - artestuarine - 23rd Sep, 2024, 06:56 PM
RE: Where is my SSH private key so i can use it to login Xbian via FileZilla? - stripechange - 25th Sep, 2024 07:51 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 22nd May, 2025, 09:40 AM Powered By MyBB, © 2002-2025 MyBB Group.