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
|
||||
|
||||
# Copy necessary SSH keys
|
||||
if [ -d /home/yanlin/.ssh/keys ]; then
|
||||
cp -r /home/yanlin/.ssh/keys /root/.ssh/
|
||||
chmod -R 600 /root/.ssh/keys
|
||||
if [ -d /home/yanlin/Credentials/ssh_keys ]; then
|
||||
mkdir -p /root/Credentials
|
||||
cp -r /home/yanlin/Credentials/ssh_keys /root/Credentials/
|
||||
chmod -R 600 /root/Credentials/ssh_keys
|
||||
fi
|
||||
|
||||
# Copy known_hosts to avoid host key verification issues
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue