mirror of https://github.com/tLDP/LDP
Update main.yml
adjust permissions of created known_hosts file
This commit is contained in:
parent
e66597613c
commit
dc83863bc5
|
@ -52,6 +52,7 @@ jobs:
|
|||
echo "$SSH_KEY" > /home/runner/.ssh/ldpkey
|
||||
chmod 400 /home/runner/.ssh/ldpkey
|
||||
ssh-keyscan -p $LDPPORT -H $LDPHOST1 >> /home/runner/.ssh/known_hosts
|
||||
chmod 400 /home/runner/.ssh/known_hosts
|
||||
#ssh-keyscan -p $LDPPORT -H $LDPHOST2 >> /home/runner/.ssh/known_hosts
|
||||
ssh -vv -p $LDPPORT -i /home/runner/.ssh/ldpkey $LDPUSER@$LDPHOST1 ls
|
||||
#ssh -vv -p $LDPPORT -i /home/runner/.ssh/ldpkey $LDPUSER@$LDPHOST2 ls
|
||||
|
|
Loading…
Reference in New Issue