This video covers everything you need to generate a SSH private/public keypair using puttygen, then configure the PuTTY Pageant SSH agent so you can login without having to type a password or passphrase everytime!
Great job Brian! FYI, if anyone wants to use this for VMware ESXi hosts, the authorized_keys file should be located in '/etc/ssh/keys-' directory. Thanks again Brian!
Wow... That's incredibly well presented. The only problem I had was the fact, that when I copied the public key, it truncated the first letter out of it, which is a very minor problem. Thank you!!
Until I watched this video, I couldn't get it working. I tried about 5 times and all failed... not sure what I did different this time, but it worked great with my Raspberry Pi :) Thanks!
Hi Brian, thats a great video which helped creating new private key. so while creating private key, i also generated a passphrase for private key which is great. But for some reason i want to remove that passphrase for my private key. Can you help me with that? how to do that?
Hi Guys, I think this is such an awesome video. I have deployed this to a raspberry Pi version of Centos7 (minimal build) and it works really well. However, I do have a couple of questions...1) To make this truly password less, do I have to edit the /etc/ssh/sshd_config file to deny password authentication & only allow public/private key access? and 2) If I try to do something like scp, between two Linux machines, if the second machine does not have the private key setup, will the two machines be able to talk to each other? I am in the process of building another machine to test this myself, but if the answer is no, then how do I get things like scp & sftp to work between machines that have and do not have the key infrastructure? I can see on the video how it would be done via putty but I am thinking about scp between a client and server perhaps where I only have the key setup on my servers.
I always do "chmod 400 ~/.ssh/auhorized_keys" to prevent even the owner from making changes and only the owner should be allowed to read from this file. This does create a problem if you copy it to a different user folder but you can always change the owner of the copied file to the new user using root permission. It's extra security.
If you set a passphrase you will have to enter it every time you connect which is annoying, and sort of defeats the convenience of using keys to begin with.
can you please tell what can cause error "Server refused our key"? i'm following video step by step... i am using RSA when generateing key, is that the case? i'm using new 0.70 version of putty and there is no SSH(RSA-2), so i used what was selected on default - RSA. or may be it is because i have no other user except root. can that be a problem?
i created a new user and using that, i got rid of the error "Server refused our key". so root is not allowed to log in through putty. everything worked out great :) the video is great by the way, everythings on point and easy to follow.
I can only make this work only for my Root user, but not also for my regular users... :( "server refused your key" .. not sure what is going on.. been dealing with this for such a long time now ... can you please help with any suggestions? everything else seems configured as it should sshd_config file etc.....
Exactly the question: You're going too fast... mostly I couldn't see or didn't know what you were typing and had to search other tutorials to find out what you were doing... For example, at the end of the vi file paste, how to you get to the bottom of the screen to save? G does not work, and I can't see how you got there before :wq save.
You're going too fast... mostly I couldn't see or didn't know what you were typing and had to search other tutorials to find out what you were doing... For example, at the end of the vi file paste, how to you get to the bottom of the screen to save? G does not work, and I can't see how you got there before :wq save.
This video becomes utterly useless for those with a windows server as of 3:21, because 'chmod' is not a command on Windows. So, if you were looking how to fix the 'Server refused our key' error for windows machines, this ain't it, chief
Exactly, cmooooon. No one seems to have a solution for this and all the tutorials are linux. Majority of PC owners are Windows users. I went in and changed the file permissions myself but I must be missing something and I'd love to just be able to try chmod 600 and chmod 700 like in this tutorial to rule out file permissions as the cause of the issue.