File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -169,20 +169,22 @@ jobs:
169169 conda deactivate
170170
171171 echo "8. Setting up SSH"
172- ssh-keygen -t rsa -b 4096 -N '' -f $PWD/qiita_ware/test/test_data/test_key
172+ ssh-keygen -t rsa -q -N '' -f $PWD/qiita_ware/test/test_data/test_key
173173 mkdir ~/.ssh/
174174 cp $PWD/qiita_ware/test/test_data/test_key* ~/.ssh/
175+ cat ~/.ssh/test_key.pub > ~/.ssh/authorized_keys
175176 chmod 600 $PWD/qiita_ware/test/test_data/test_key*
176177 chmod 600 ~/.ssh/*
177178 cat >>~/.ssh/config <<END
178179 Host qiita
179180 HostName localhost
180181 User $USER
181- IdentityFile ~/.ssh/staging .key
182+ IdentityFile ~/.ssh/test_key .key
182183 StrictHostKeyChecking no
183184 END
184-
185185 chmod 700 ~/.ssh/
186+ chmod g-w $HOME
187+ chmod o-w $HOME
186188 echo "Connecting as $USER@localhost"
187189 # this line (and the -o StrictHostKeyChecking=no) is so the server
188190 # is added to the list of known servers
You can’t perform that action at this time.
0 commit comments