mirror of
https://github.com/fluencelabs/node-distro
synced 2025-04-25 07:22:14 +00:00
13 lines
263 B
Bash
13 lines
263 B
Bash
|
#! /usr/bin/env sh
|
||
|
|
||
|
if ! [[ -d /root/.ssh ]]; then
|
||
|
echo "Private key at '/root/.ssh' is missing or not readable"
|
||
|
echo "Did you forget to mount .ssh directory with '-v $HOME/.ssh:/root/.ssh:ro'?"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
eval $(ssh-agent) > /dev/null
|
||
|
ssh-add
|
||
|
|
||
|
exec fab $@
|