Answers for "GIT SSH Add"

1

GIT SSH Add

$ ssh-keygen -t ed25519 -C "[email protected]"
Note: If you are using a legacy system that doesn't support the Ed25519 algorithm, use:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
This creates a new ssh key, using the provided email as a label.
> Generating public/private ed25519 key pair.
> Enter a file in which to save the key (/c/Users/you/.ssh/id_ed25519):[Press enter]

> Enter passphrase (empty for no passphrase): [Type a passphrase]
> Enter same passphrase again: [Type passphrase again]
# start the ssh-agent in the background
$ eval "$(ssh-agent -s)"
> Agent pid 59566
$ ssh-add ~/.ssh/id_ed25519
> Windows
clip < ~/.ssh/id_ed25519.pub
Posted by: Guest on September-01-2021
0

ssh-add git

$ eval "$(ssh-agent -s)"
$ ssh-add -K ~/.ssh/id_ed25519
Posted by: Guest on March-31-2021
0

git remote add ssh

git remote add origin ssh://[email protected]:1234/srv/git/example
Posted by: Guest on September-26-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language