Last active
May 26, 2021 08:57
-
-
Save jahidHn/7c44bceaf4ba5324a89316dc5266ce65 to your computer and use it in GitHub Desktop.
SSH Command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ssh-copy-id mac | |
sudo curl https://raw.github.com/beautifulcode/ssh-copy-id-for-OSX/master/ssh-copy-id.sh -o /usr/local/bin/ssh-copy-id | |
sudo chmod +x /usr/local/bin/ssh-copy-id | |
## Copy ssh key to remote | |
ssh-copy-id -i ~/.ssh/id_rsa.pub '-p portnumber username@ipaddress' | |
###Debuging with remote connect | |
ssh -vv [email protected] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment