What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-08 08:00:02
ssh - use public key to login
# generate ssh key first on your source host: ssh-keygen -t rsa # copy it to the remote/target host: ssh-copy-id remote_username@server_ip_addressCopy # if for some reason the above method unavailable, use: cat ~/.ssh/id_rsa.pub | ssh remote_username@se... Add solution -
Shell/Bash 2021-08-30 19:11:02
cat ~/.ssh/id_rsa.pub
open generated ssh key cat ~/.ssh/id_rsa.pub Add solution -
Shell/Bash 2021-08-30 08:12:01
Permission denied (publickey) git clone
Connect local git to remote step by step please not not skip any step and checkt the attach link for source $ ssh-keygen -t ed25519 -C "[email protected]" press enter 3 times 1st > Enter a file in which to save the key (/Users/you/.ssh/... Add solution -
Shell/Bash 2021-08-28 00:19:01
git logout
# logout from git cmi # Remove your SSH keys from ~/.ssh (or where you stored them). rm -rf /home/user/.ssh # Remove your user settings: git config --global --unset user.name git config --global --unset user.email git config --global --unset credential... Add solution -
Shell/Bash 2021-08-27 13:03:01
add ssh key to github
### ADD SSH key to Github ### # Check if you have a key? ssh-add -l # If not? then follow steps to generate key ssh-keygen -t rsa -b 4096 -C your__gmail # Now for copy the key use xclip tool or just goto file and copy sudo apt install xclip xclip -sel... Add solution