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:
173
173
mkdir ~/.ssh/
174
174
cp $PWD/qiita_ware/test/test_data/test_key* ~/.ssh/
175
175
cat ~/.ssh/test_key.pub > ~/.ssh/authorized_keys
176
- touch ~/.ssh/known_hosts
177
176
chmod 600 $PWD/qiita_ware/test/test_data/test_key*
178
177
chmod 600 ~/.ssh/*
179
178
chmod 700 ~/.ssh/
180
- # echo "Connecting as $USER@localhost"
179
+ echo "Connecting as $USER@localhost"
181
180
# this line (and the -o StrictHostKeyChecking=no) is so the server
182
181
# 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
184
183
185
184
- name : Main tests
186
185
shell : bash -l {0}
You can’t perform that action at this time.
0 commit comments