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 trialVictor Rundbaken
14,037 PointsI didnt see them typing in any credentials in git. Are they a using a ssh key without a pw?
I just setup ssh but it still asks for a password. Is there a way to have it only ask you for the password once per session or have they just created a key without a pw?
2 Answers
Ian VanSchooten
3,549 PointsIt depends how you set up your SSH key. If you typed a password while creating the key, then you'll need to use that password each time. This is the strongest method (key + pass). To create a key without a password, simply press enter
when a password is requested during key creation.
geoffrey
28,736 PointsNo, normally if you use a SSH key you don't need to type the password eachtime. A reason could be the fact you cloned the project using the https link instead of the ssh link.
If you are using github, be sure as well to add this ssh key in your profile.