![]() ![]() Try to connect via PuTTY, except this time, remove the private key from SSH > Auth > Private key file for authentication – PuTTY should then use the key details from Pageant.Once you’ve verified that your key works, you can optionally begin using Pageant instead to save your keys (perhaps for multiple user names) instead of specifying a key within the session details – choose to Add Key, select the private key and specify the passphrase for it – they key should be added to your list.You should see something likeĪuthenticating with public key "imported-openssh-key" from agent ![]() Try to connect – if you’ve not specified the username as part of the the host name (in the form you’ll be prompted for the username but not for the password.In PuTTY, create a new session with mykey.ppk as the private key under SSH > Auth > Private key file for authentication.Use Conversions > Import key to import your private key ( mykey) and then Save private key as mykey.ppk (or whatever you prefer). The problem here is that the key generated on the host isn’t directly usable by PuTTY it must be converted using PuTTYgen.Test the connection with PuTTY, PuTTYgen and Pageant Copy the private key ( mykey) to the machine where you’ll make the connection (the client where TortoiseSVN will be used)ī.In older implementations, authorized_keys2 was the name used for the key. Copy the public key to this folder and rename it to authorized_keys ( cp mykey.pub / home-directory/.ssh/authorized_keys) and then set the appropriate permissions ( chmod 600 authorized_keys).ssh to set the appropriate permissions on that folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |