-
Notifications
You must be signed in to change notification settings - Fork 698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to ssh from an ec2 instance #247
Comments
This is because you need to generate a key locally to connect. Try with |
Thanks for the quick reply! |
thanks but doesn't help I even recreated the private key at home and tried with
I also added my public key in .ssh/authorized_keys but no more luck :( |
I add my public key into the node and authentication goes well but I get "Exit status -1"
|
Which ssh client and version are you using? |
ssh -V Cygwin on Windows |
Are you behind some sort of firewall or nat network somehow? It works ok from here. |
I have found the reason! |
Nice. Would be nice if you can share here so others don't have the same issue. |
I don't know whats goes on exactly, but I edited "/etc/ssh/sshd_config" in the node to enable root authentication with password and permit port forwarding and reset root password. |
I tried accessing play-with-docker instance using ssh from ec2 instance (can't do from my local machine because of firewall blocking port 22). I checked the outbound rules but all ports are open.
Following error shows up when I try to ssh a pwd machine,
The text was updated successfully, but these errors were encountered: