SSH - suniladhya/Advantage GitHub Wiki
SSH is used for communicating to the servers
- To transmit
sshroot@IPAddress Password Have to enter every time. not to use as it is prone to brute-force attack
RSA
- create a file .ssh open . .ssh ls .ssh ssh-keygen -C "[email protected]" enter the path enter passphrase(optional) Now it will generate the public(.pub) and the private key
the public key can be shared with any one. but the private key should not be shared
.ssh pbcopy < ~/.ssh/id_rsa_test.pub this copies the public key to the
copy the public key to the authorized keys in the server until the public keys are there in the Authorized Key file we can access the server directly
Github SSH Access Https will always use the certificates to access the server using certificate authorities cons: Always asks for credential 3 using setting, paste the public key. use ssh-add private key in the local for access through ssh to github