Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update deployment.md #251

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/features/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,14 @@ Host deployment
# git@deployment:username/anyrepo.git
# This is for cloning any repo that uses that IdentityFile. This is a good way to make sure that your remote cloning commands use the appropriate key
```
Or, if you configure ssh-agent, it might be possible to solve it.
Configure your local ~/.ssh/config as follows
```
# ~/.ssh/config
Host deployment server ip address
ForwardAgent yes
```
Then run the command below
```bash
$ ssh-add ~/.ssh/id_rsa # your local private key
```