Last active
February 26, 2016 07:07
-
-
Save anistark/32c4362e7a30d976f199 to your computer and use it in GitHub Desktop.
ssh permission granting
This file contains hidden or 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
To check if your system/user has the permission required: | |
> ssh -T [email protected] | |
If you want detail reports: | |
> ssh -vT [email protected] | |
In case you get error as permission denied, load you ssh keys using this: | |
# start the ssh-agent in the background | |
> eval 'ssh-agent -s' | |
> ssh-add ~/.ssh/my_other_key | |
Tada, it's done. :) Go ahead and push a few more files now. | |
At times you might wanna do this: | |
For bash shell : exec ssh-agent bash | |
For fish shell : exec ssh-agent fish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment