Skip to content

Commit f0794df

Browse files
committed
Making ssh-setup work
1 parent bf6c6e6 commit f0794df

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.circleci/config.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,13 @@ jobs:
4646
echo "from=\"127.0.0.1,localhost,0.0.0.0\" $(cat ~/.ssh/clj_ssh.pub)" >> ~/.ssh/authorized_keys
4747
echo "from=\"127.0.0.1,localhost,0.0.0.0\" $(cat ~/.ssh/clj_ssh_pp.pub)" >> ~/.ssh/authorized_keys
4848
eval $(ssh-agent)
49-
echo "clj-ssh" > pp
49+
cat << EOF > pp
50+
#!/bin/sh
51+
echo "clj-ssh"
52+
EOF
5053
chmod +x pp
54+
export SSH_ASKPPAS=./pp
55+
export DISPLAY=1
5156
setsid ssh-add ~/.ssh/clj_ssh_pp < pp
5257
# run tests!
53-
- run: lein test
58+
- run: lein test

0 commit comments

Comments
 (0)