My VPS has a function in WHM to generate privatepublic keys to use with PuTTY and it wont save the key unless you use a password so pagent can be useful to make sure you are not entering passwords all the time. If you want to use passwords and pagent to remember them, set pagent so it starts with windows. The first time in a session you login to the Server, Pagent will prompt for the password and will then remember it for that session and not ask again. When you install PuTTY it comes with 2 other programs as well. So as much for my own benefit as anything else, here is my complete how-to with a couple of specific examples.Ĭreating a PublicPrivate Key for a Linux System First, lets create the publicprivate key for our system. The purpose of this post is to help you set up a Linux system, maybe a VPS or even just a humble Raspberry Pi so you can connect to it using PuTTY or WinSCP or even a terminal on a Mac PC in a secure way using a private key. Not the answer youre looking for Browse other questions tagged macos ssh ssh-keys openssh or ask your own question.įor Hassio (the appliance like Home Assistant) they are stored in root.ssh but if you want to use the hidden debugging docker container, it goes in the root folder of the boot partition on the SD-Card. I suggested this approach because some people may prefer not to install additional software on their Mac that they dont otherwise need. Given the question asker has access to a Windows machine then converting the.ppk file to a.pem file prior to copying it to the Mac is just as valid a solution as first copying it to the Mac and converting it there. The primary goal of the question as I understand it is to connect from a Mac to a Linux server using an existing.ppk file from a Windows machine. From the Conversions menu select Export OpenSSH key and save the private key file with the.pem file extension.
0 Comments
Leave a Reply. |