Add ssh-keyscan. Start ssh-agent for cargo.

This commit is contained in:
jimmy committed 2024-01-04 19:08:16 -05:00
1 parent cda58f1605
commit 600c682fbb
2 files changed
+4 -1

No files matched your search

+1
View File
@@ -15,6 +15,7 @@ spec:
cp -r $(workspaces.ssh-directory.path) ~/.ssh
chmod 700 ~/.ssh
chmod -R 400 ~/.ssh/*
eval $(ssh-agent -s)
ssh-keyscan -H -p 2222 git.jpace121.net >> ~/.ssh/known_hosts
# Use just to run the ci steps.
source ~/.cargo/env