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 trial

PHP

Shane McC
Shane McC
3,005 Points

ssh_exchange_identification read connection reset by peer - Homestead Laravel

I'm trying to connect to Homestead using the vagrant ssh command but I'm getting the below error message. I'm using Windows 7. How do I fix this issue?

ssh_exchange_identification read connection reset by peer

1 Answer

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Shane;

Few things you can quickly try are as follows,

Look in /etc/hosts.deny for any entry like sshd: ALL

Perhaps, add sshd: ALL to /etc/hosts.allow

Post back with additional questions.

Ken

Shane McC
Shane McC
3,005 Points

Hi Ken

Thanks for your help, this may seem like a silly question but I'm going to ask it anyway. Where do I find /etc/hosts.deny and /etc/hosts.allow?

Thanks