Skip to content

Commit 1179876

Browse files
committed
Adding notes for the possibility of the ssh-agent not running, including StackOverflow link
1 parent a79e151 commit 1179876

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

sites/en/installfest/create_an_ssh_key.step

+10-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,16 @@ The key fingerprint is:
7373
Enter passphrase for /Users/student/.ssh/id_rsa:
7474
Identity added: /Users/student/.ssh/id_rsa (/Users/student/.ssh/id_rsa)"
7575
OUTPUT
76+
77+
tip "Could not open a connection to your authentication agent" do
78+
message "If the ssh-agent is not running, you will come across this error. Here are a few commands that you can try to use to start the ssh-agent:"
79+
console_with_message "For some Windows machines:", "eval `ssh-agent -s`"
80+
console_with_message "For others (confirmed on some Windows 7, 8, 8.1, and 10 setups):", "eval $(ssh-agent)"
81+
console_with_message "For Linux:", "eval `ssh-agent`"
82+
message <<-MARKDOWN
83+
<p>For additional options, this StackOverflow thread has been helpful: <a href=" http://stackoverflow.com/questions/17846529/could-not-open-a-connection-to-your-authentication-agent"> http://stackoverflow.com/questions/17846529/could-not-open-a-connection-to-your-authentication-agent</a></p>
84+
MARKDOWN
85+
end
7686
end
7787

7888
next_step 'create_a_heroku_account'
79-

0 commit comments

Comments
 (0)