Merge branch 'ssh-add-no-redirect' into 'master'

In ssh_keys docs, don't redirect stdout of ssh-add

See merge request gitlab-org/gitlab-ce!31630
This commit is contained in:
Achilleas Pipinellis 2019-08-20 18:27:52 +00:00
commit 14bcd17b98
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ to access it. This is where an SSH key pair comes in handy.
## without extra base64 encoding.
## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556
##
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
##
## Create the SSH directory and give it the right permissions