Re: SSH for Binary Data Pipe

From: Jacob Nevins (jacobn_at_chiark.greenend.org.uk)
Date: 03/23/05


Date: 23 Mar 2005 12:13:01 +0000 (GMT)

cnystrom@gmail.com writes:
>To be able to respond to the password prompt I had to run the SSH
>process using a pseudo-terminal.

Have you considered avoiding the need to do this, for instance by using
a passphraseless keypair?

>So do I have to chose between being able to respond to the password
>prompt (psuedo-terminal), or a binary stream? Is it programmatically
>imposssible to have both with ssh?

You can disable allocation of a pty on the _server_ side with the -T
option; then you only have the client-side pty you've inflicted on
yourself to worry about. I haven't thought about whether that helps or
leaves you with any insurmountable problems.



Relevant Pages

  • Re: SSH for Binary Data Pipe
    ... >To be able to respond to the password prompt I had to run the SSH ... Have you considered avoiding the need to do this, ... then you only have the client-side pty you've inflicted on ...
    (comp.unix.programmer)
  • Re: ssh operation timed out
    ... > Instead of denying me outright it gives me a password prompt. ... You may be trying to log in over SSH as root, ... Best practice server setup makes you log in as a normal user ...
    (comp.unix.bsd.freebsd.misc)
  • Re: ssh operation timed out
    ... >Instead of denying me outright it gives me a password prompt. ... ssh <remote user name>@A ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Q: pub key login still asks for password??
    ... > is prevent ssh from trying to read anything from the terminal; ... Jason doesnt state that his authentication was failing - he states that he ... and that is why he received a password prompt. ... my key is authenticated because I will still get a successful connection. ...
    (comp.security.ssh)