Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBrian Patterson
19,588 PointsPutting the location of .ssh keys
I have the latest version of homestead and it is showing me this in the .yaml file.
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
Do I still have to write the file path in?
1 Answer
Michael Hulet
47,913 PointsI know this is an old question on a course that's retiring soon, but no, I don't think you have to change anything. The tilde (~
) a special character that basically acts as a placeholder for your home folder. For example, on my system, my home folder is at /Users/michael/
, so writing ~/.ssh
for me is exactly equivalent to writing /Users/michael/.ssh