0

I have installed OpenSSH with CYGWIN on Windows Server 2012 R2 server on Amazon EC - I wanted to create my SSH instead of creating instances in the admin dashboard.

My SFTP connection with the installed OpenSSH w/ CYGWIN works perfectly fine.

When I am trying to connect to the server using PUTTY via SSH w/o X11 Forwarding/PPK, Putty asks for my password and closes the terminal immediately after the successful connection.

In Mercurial/Tortoise HG when I use the same PPK via PAGEANT I get

couldn't load this key (unable to open file)

In Mercurial, after removing key from PAGEANT and run the code

hg clone "C:\exampleProjectPath" ssh://username@hostname//exampleProject

I am getting

abort: no suitable response from remote hg!

For some reasons I am not understand what changes should I make in CYGWIN or on my WINDOWS SERVER 2012 at Server end. HELP ME

Some similar Questions on StackExchange - I have followed them all; My question is a little bit different from them; I have find no solution yet

pubkey-authentication-with-ssh-server-running-on-cygwin-session-closes-immedia

Cygwin OpenSSH closes immediately after a connection

putty closing after successful login

  • Your PuTTY and Mercurial/Tortoise HG problems seem to be completely unrelated. So please do not mix them into a single question. + Also consider using Official Microsoft build of OpenSSH. It should be easier to setup than Cygwin. – Martin Prikryl Aug 26 '18 at 6:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.