mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-11-23 16:03:46 +01:00
cat. not echo. fuck sake.
source the agent start.
This commit is contained in:
parent
bbf699c73b
commit
505578365f
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +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 PRIVATE KEY-----/' | sed 's/-END-/-----END RSA PRIVATE KEY-----/' |
|
||||
source agent-start
|
||||
cat /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-----\n/' | sed 's/-END-/-----END RSA PRIVATE KEY-----\n/' |
|
||||
ssh-add -
|
Loading…
Reference in a new issue