Where does the "prompt come from"
From: Niclas Bäckman (niclas.c.backman_at_ericsson.com)
Date: 03/24/04
- Next message: Bit Twister: "Re: Where does the "prompt come from""
- Previous message: Hans: "Re: HOWTO: Speedup login process using OpenSSH 3.4 on AIX"
- Next in thread: Bit Twister: "Re: Where does the "prompt come from""
- Reply: Bit Twister: "Re: Where does the "prompt come from""
- Reply: all mail refused: "Re: Where does the "prompt come from""
- Reply: Per Hedeland: "Re: Where does the "prompt come from""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 24 Mar 2004 14:45:53 +0100
Hi All !
I have a little question about the shell that is run when establishing a
connection towards an SSH server.
The client(OpenSSH) displays a prompt(as usual) when a command is executed,
but my question is, where does the prompt come from.
Is it sent by the remote shell or is it handled in the client ??
The reason I ask is that we have developed a product that redirects
stdin/stdout/stderr from the ssh binary to a socket, and we then
perform socket read/writes directly into the ssh tunnel. But when i perform
a command, the prompt is never read up from the server.
So it's difficult to know when a remote script is finished. Using the same
solution but towards a telnet server always results in a prompt
back to the client.
I would be most greatful for any good ideas/hints in this case.
Thanks in advance !!
/Niclas Bäckman, Ericsson AB
- Next message: Bit Twister: "Re: Where does the "prompt come from""
- Previous message: Hans: "Re: HOWTO: Speedup login process using OpenSSH 3.4 on AIX"
- Next in thread: Bit Twister: "Re: Where does the "prompt come from""
- Reply: Bit Twister: "Re: Where does the "prompt come from""
- Reply: all mail refused: "Re: Where does the "prompt come from""
- Reply: Per Hedeland: "Re: Where does the "prompt come from""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|