Where does the "prompt come from"

Darren Tucker dtucker at zip.com.au
Thu Mar 25 19:00:41 EST 2004


Niclas Bäckman C (LI/EAB) wrote:

> If I use a standard client like OpenSSH the client echoes back the prompt after a command is executed,
> but in my scenarion it's lost and never written to stdout/stderr(my socket).
> Does the SSH client remove the prompt in some way before data is passed to stdout/stderr ??
> Many thanks in advance !

You could try forcing an interactive shell:

ssh yourhost /bin/sh -i

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list