From 912906ef8cb9f08f9c46ae3085246d07379dd597 Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Sat, 10 Jun 2023 10:56:21 +0200 Subject: [PATCH] Revert "foo" This reverts commit 77cbcd97d90defec9c4683d3c666bd431e03b0a6. --- dev/tests/run_tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index ae2e091..4f9ce17 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -121,7 +121,7 @@ function SetupSSH { echp "ls -alh ${HOME}/.ssh" ls -alh "${HOME}/.ssh" - echo "cat ${HOME}/.ssh/authorized_keys" + echo "cat ${HOME}/.ssh.authorized_keys" cat "${HOME}/.ssh/authorized_keys" echo "###" @@ -333,14 +333,14 @@ function test_SSH { echo "Running SSH test as ${REMOTE_USER}" # SSH_PORT and SSH_USER are set by oneTimeSetup - ssh -i "${REMOTE_USER}/.ssh/${PRIVKEY_NAME}" -p $SSH_PORT ${REMOTE_USER}@localhost "echo \"Remotely:\"; whoami; echo \"TEST OK\"" + ssh -i "${REMOTE_USER}/.ssh/${PUBKEY_NAME}" -p $SSH_PORT ${REMOTE_USER}@localhost "echo \"Remotely:\"; whoami; echo \"TEST OK\"" if [ $? -ne 0 ]; then echo "SSH test failed" failure=true fi echo "Running SSH test as $(whoami)" - ssh -i "$(whoami)/.ssh/${PRIVKEY_NAME}" -p $SSH_PORT $(whoami)@localhost "echo \"Remotely:\"; whoami; echo \"TEST OK\"" + ssh -i "$(whoami)/.ssh/${PUBKEY_NAME}" -p $SSH_PORT $(whoami)@localhost "echo \"Remotely:\"; whoami; echo \"TEST OK\"" if [ $? -ne 0 ]; then echo "SSH test failed" failure=true