File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -173,14 +173,13 @@ jobs:
173173 mkdir ~/.ssh/
174174 cp $PWD/qiita_ware/test/test_data/test_key* ~/.ssh/
175175 cat ~/.ssh/test_key.pub > ~/.ssh/authorized_keys
176- touch ~/.ssh/known_hosts
177176 chmod 600 $PWD/qiita_ware/test/test_data/test_key*
178177 chmod 600 ~/.ssh/*
179178 chmod 700 ~/.ssh/
180- # echo "Connecting as $USER@localhost"
179+ echo "Connecting as $USER@localhost"
181180 # this line (and the -o StrictHostKeyChecking=no) is so the server
182181 # is added to the list of known servers
183- # scp -vvvvv - O -o StrictHostKeyChecking=no -i $PWD/qiita_ware/test/test_data/test_key $USER@localhost:/home/runner/work/qiita/qiita/qiita_ware/test/test_data/random_key /home/runner/work/qiita/qiita/qiita_ware/test/test_data/random_key_copy_1
182+ scp -O -o StrictHostKeyChecking=no -o UserKnownHostsFile=~/.ssh/known_hosts -tt -i $PWD/qiita_ware/test/test_data/test_key $USER@localhost:/home/runner/work/qiita/qiita/qiita_ware/test/test_data/random_key /home/runner/work/qiita/qiita/qiita_ware/test/test_data/random_key_copy_1
184183
185184 - name : Main tests
186185 shell : bash -l {0}
You can’t perform that action at this time.
0 commit comments