Cygwin 通过putty对本地主机执行ssh时出错

Cygwin 通过putty对本地主机执行ssh时出错,cygwin,sshd,Cygwin,Sshd,我在windows 7上安装了Cygwin sshd 我正在尝试使用putty通过ssh连接到本地主机。 我尝试使用主机值作为localhost和IP地址以及端口22进行连接 每次登录时,我都会收到下面的消息,然后putty窗口消失 login as: kalbha kalbha@localhost's password: Last login: Mon Jun 15 14:34:08 2015 from 20.86.280.218 我没有看到显示任何其他消息。我也没有看到任何错误 然后我尝试

我在windows 7上安装了Cygwin sshd

我正在尝试使用putty通过ssh连接到本地主机。 我尝试使用主机值作为localhost和IP地址以及端口22进行连接

每次登录时,我都会收到下面的消息,然后putty窗口消失

login as: kalbha
kalbha@localhost's password:
Last login: Mon Jun 15 14:34:08 2015 from 20.86.280.218
我没有看到显示任何其他消息。我也没有看到任何错误

然后我尝试通过一个TIBCO应用程序进行连接。这个应用程序也在本地运行,它试图通过SSH连接到本地主机来执行一个命令。 它在日志信息下面

Attempting PASSWORD authentication to kalbha@20.86.280.218:22
Authentication SUCCESSFUL and session connected
Cannot connect to remote host at 20.86.280.218 through SSH. java.io.IOException: inputstream is closed
我相信这就是我的油灰窗消失的原因

你能告诉我为什么会出现这个java错误吗