Skip to main content

Posts

Showing posts with the label private key

SSH Public Key Based Authentication

1-        Generate public and private keys by using  puttygen . Save public and private keys with or without passphrase. 2-        Public key which is seen as selected in picture, needs to be added to authorized_keys file in GIT server. While copying make sure that: -            Key starts with “ssh-rsa” -            Key does not include “ rsa-key-20140505” -            Key must be single line. 3-        In GIT server, generated key needs to be added to   ~/.ssh/authorized_keys  file. Make sure public key is copied according to remarks above. A sample public key is as below: ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAi6ZlUMEIwB4UAhE8WQL0BFzDK/4dnQzSHhhIGgqmrunLd4IkK1lGDF3YpqMOz5VLFggfJZPx+VgGkqliOvHdHn4GV...