debug(ci): print ssh key file hash and size
This commit is contained in:
@@ -40,6 +40,8 @@ jobs:
|
||||
echo "[deploy] setting up SSH and deploying shadow copy"
|
||||
mkdir -p ~/.ssh
|
||||
echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/id_ed25519
|
||||
wc -c ~/.ssh/id_ed25519
|
||||
md5sum ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
ssh-keyscan -H 178.104.200.7 >> ~/.ssh/known_hosts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user