Error Connecting to a Git Repository on Windows - No tty allocated
Symptoms
Attempting to add an existing Git repository to Fisheye on Windows results in the following error:
Caused by: com.cenqua.fisheye.config.ConfigException: Error talking to repository:
0 [main] ssh 7496 tty_list::allocate_tty: No tty allocated
Cause
The CYGWIN
environment variable contains "tty" which prevents proper communication.
Resolution
Correct the CYGWIN
environment variable so that it doesn't contain "tty".
Further Reading
(no)tty
- If set, Cygwin enabled extra support (i.e., termios) for UNIX-like ttys in the Windows console. This option has been removed because it can be easily replaced by using a terminal like mintty, and it does not work well with some Windows programs.