+2 votes
in General IT Tips by (73.6k points)

I am trying to SSH to a server from Cygwin terminal, but it gives the following error:

Pseudo-terminal will not be allocated because stdin is not a terminal

How to fix this error?

1 Answer

+1 vote
by (355k points)
selected by
 
Best answer

Looks like you did not install SSH package while installing Cygwin. Please do the followings and hopefully your problem will be fixed.

1. Download the latest Cygwin from https://www.cygwin.com/

2. Run the downloaded installation file and once you reach the below screen where it says "select packages", type "ssh" in the seach box. It will show you the list of SSH packages.cygwin ssh

3. Select "openssh" binary from the above list of packages to install it. Once you install this package, you should not get the error.

You may need to re-install other packages you installed previously. I have not tested it.

Related questions


...