

2 Download PuTTY on Linux and Installation Guide.What are Telnet, Rlogin, and SSH in PuTTY? 1.1.1 Download Alternative Binary Files for PuTTY (Windows).1.1 Download PuTTY for Windows Operating System (Released ).Step 4: Check Login in terminalįire command ssh -T in your terminal and you can get output like Warning: Permanently added the RSA host key for IP address '104.192.141.1' to the list of known hosts. Step 3: Add the SSH key to the ssh-agent.įire command $eval ssh-agent into the terminal and you get output like Agent pid 9795. click here for Github to add SSH to your account. Now, you can see the key in the terminal.let's fire command cat id_rsa.pub on the terminal and make sure you stay on the.Ls command displays two files, one for the public key (for example id_rsa.pub) and one for the private key (for example, id_rsa) if successfully generated. The key fingerprint is: e7:94:d1:a3:02:ee:38:6e:a4:5e:26:a3:a9:f4:95:d4 navigate to path cd /c/Users/shailesh/.ssh/ and fire ls command for confirming file generated or not. Your public key has been saved in /c/Users/shailesh/.ssh/id_rsa.pub. Your identification has been saved in /c/Users/shailesh/.ssh/id_rsa. or you can specify the path and then press enter.Įnter and re-enter a passphrase when prompted.įinal out put in your terminal is look likes, ssh-keygenĮnter file in which to save the key (/c/Users/shailesh/.ssh/id_rsa):Ĭreated directory '/c/Users/shailesh/.ssh'.Įnter passphrase (empty for no passphrase):

Press enter to accept the default key and path, /c/Users//.ssh/id_rsa. Enter file in which to save the key (/c/Users/emmap1/.ssh/id_rsa): $ssh-keygen Generating public/private rsa key pair. Now, type the command ssh-keygen and enter and command prompts you for a file to save the key in:.So, Let's Set up SSH for Git on Windows Step1: Set up your default identityįirs of all open your terminals like gitbash or cmDer. When you set up an SSH key, you create a key pair that contains a private key (saved to your local computer) and a public key.

So, using SSH key you can use git for your repository and get authentication from GitHub or any tool where you add ssh. as you know all developers use git for pushing, fetching, and pulling their code from GitLab, GitHub, and any other tools. SSH keys use key pairs based on public key infrastructure technology, the gold standard for digital identity authentication and encryption, to provide a secure and scalable method of authentication. Let me explain a bit more, An SSH key is a secure access credential used in the Secure Shell protocol. You can watch this video or follow an article. In this article, I show you how to set up SSH in windows10,įirst of all, you have a question what is the ssh key, and why do we need it?
