ssh2 in xterm problem

2002-03-14 Thread Hans Werner Strube

I have the Windows version of ssh2 (SSHWinClient-3.1.0-build235 from ssh.com)
installed. Besides the Windows GUI client, there is also a command line
client ssh2. This works well from the Cygwin login shell. But when I call
it from an xterm shell in XFree86-4.2.0, the password prompt appears not
in this shell but in the login shell from which X was started. I tried to
enter the password there but without any effect. When I enter the password
in the xterm, it is echoed and has no effect either.
What is the reason for this strange behaviour, and can it be circumvented?
(Well, don't tell me I could install openssh; this seems to indicate a basic
problem to be solved!)



RE: ssh2 in xterm problem

2002-03-14 Thread Harold Hunt

Hans,

That sounds like normal behavior for Windows applications.  ssh2 would have
to be *specifically* designed in order to be usable from an xterm in
Cygwin/XFree86.  The reason that it runs in a Cygwin shell is that the
Cygwin shell is actually an MS command prompt that is running bash... but
the xterm is not an instance of an MS command prompt, so ssh2 no longer
runs.

I hope that makes sense.

Harold

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Hans Werner Strube
 Sent: Thursday, March 14, 2002 4:19 AM
 To: [EMAIL PROTECTED]
 Subject: ssh2 in xterm problem


 I have the Windows version of ssh2 (SSHWinClient-3.1.0-build235
 from ssh.com)
 installed. Besides the Windows GUI client, there is also a command line
 client ssh2. This works well from the Cygwin login shell. But when I call
 it from an xterm shell in XFree86-4.2.0, the password prompt appears not
 in this shell but in the login shell from which X was started. I tried to
 enter the password there but without any effect. When I enter the password
 in the xterm, it is echoed and has no effect either.
 What is the reason for this strange behaviour, and can it be circumvented?
 (Well, don't tell me I could install openssh; this seems to
 indicate a basic
 problem to be solved!)




RE: ssh2 in xterm problem

2002-03-14 Thread Harold Hunt

Hans,

Don't forget to cc the list in all replies.

Harold

 -Original Message-
 From: Hans Werner Strube [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 14, 2002 12:19 PM
 To: [EMAIL PROTECTED]
 Subject: RE: ssh2 in xterm problem


  That sounds like normal behavior for Windows applications.
 ssh2 would have
  to be *specifically* designed in order to be usable from an xterm in
  Cygwin/XFree86.  The reason that it runs in a Cygwin shell is that the
  Cygwin shell is actually an MS command prompt that is running
 bash... but
  the xterm is not an instance of an MS command prompt, so ssh2 no longer
  runs.
 
  I hope that makes sense.

 This sounds plausible. But ssh2 no longer runs is not true, it runs but
 outputs its prompt to the Cygwin shell and can be killed by ^C in
 the xterm
 shell. But why can it write to the Cygwin shell but not read the password
 from there?

 (BTW, as an easy workaround I can set the DISPLAY environment in
 the Cygwin
 shell and call ssh2 from there. Remote X clients then appear in the Cygwin
 X window.)