minor fix
This commit is contained in:
parent
67e3801e4e
commit
2478fb59e7
1 changed files with 4 additions and 3 deletions
|
|
@ -227,9 +227,10 @@ in
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Copy necessary SSH keys
|
# Copy necessary SSH keys
|
||||||
if [ -d /home/yanlin/.ssh/keys ]; then
|
if [ -d /home/yanlin/Credentials/ssh_keys ]; then
|
||||||
cp -r /home/yanlin/.ssh/keys /root/.ssh/
|
mkdir -p /root/Credentials
|
||||||
chmod -R 600 /root/.ssh/keys
|
cp -r /home/yanlin/Credentials/ssh_keys /root/Credentials/
|
||||||
|
chmod -R 600 /root/Credentials/ssh_keys
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Copy known_hosts to avoid host key verification issues
|
# Copy known_hosts to avoid host key verification issues
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue