mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-11-23 16:03:46 +01:00
Split that to be easier to read. Fix an additional newline.
This commit is contained in:
parent
258e2fe50d
commit
bbf699c73b
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
agent-start
|
||||
echo /dev/stdin | sed 's/-----BEGIN RSA PRIVATE KEY-----/-START-/' | sed 's/-----END RSA PRIVATE KEY-----/-END-/' | tr ' ' '\n' | sed 's/-START-/-----BEGIN RSA P
|
||||
RIVATE KEY-----/' | sed 's/-END-/-----END RSA PRIVATE KEY-----/' | ssh-add -
|
||||
echo /dev/stdin | sed 's/-----BEGIN RSA PRIVATE KEY-----/-START-/' | sed 's/-----END RSA PRIVATE KEY-----/-END-/' |
|
||||
tr ' ' '\n' | sed 's/-START-/-----BEGIN RSA PRIVATE KEY-----/' | sed 's/-END-/-----END RSA PRIVATE KEY-----/' |
|
||||
ssh-add -
|
Loading…
Reference in a new issue