Re: Where does the "prompt come from"

From: Bit Twister (BitTwister_at_localhost.localdomain)
Date: 03/25/04

  • Next message: Giovani: "SSH and login without password (not passwordless login)"
    Date: Thu, 25 Mar 2004 12:39:51 GMT
    
    

    On Wed, 24 Mar 2004 14:45:53 +0100, Niclas Bäckman wrote:
    > 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 box you ssh into provides the prompt. That box's login scripts set
    up the prompt. Then you can usually define what you want the prompt to
    contain using that accounts shell commands and/or users's shell startup files.


  • Next message: Giovani: "SSH and login without password (not passwordless login)"

    Relevant Pages

    • Re: Ausgabeumleitung von Transferstatistik
      ... Shell kommt um einen neuen Prompt anzuzeigen und nicht vom sftp Kommando ... ohne abschließenden Newline beim Schließen geflusht, ... vielleicht schreibt sftp keine Verlaufsanzeige, ...
      (de.comp.os.unix.shell)
    • Re: Net::SSH::Perl -- can I capture the command prompt?
      ... actual interactive shell, I just want to capture the ... actual command prompt upon logging in. ... a Cisco router via a telnet or SSH shell, ... "Router#" tells you that you're in configuration mode. ...
      (comp.lang.perl.misc)
    • Re: Disk Druid - Fedora flame #1
      ... The only prompt I had to answer was ... As soon as the second stage installer fires up, ... If you are doing a network install, you'll need to provide your network info ... so it can get the second stage -- but it still starts the shell ...
      (Fedora)
    • Integrating bash with a C program
      ... What I want to do is create an application, ASYNCOUT that runs in the ... montitor standard output for the prompt. ... my own simple shell. ... Incidentally, this is an embedded, closed system, so I ...
      (comp.os.linux.development.apps)
    • Re: Running PowerShell in Emacs
      ... shell results in an empty buffer. ... terminal emulators with shells and their interactive mode. ... prompt and wait for user input. ... just treat stdin as a script file and do not show a prompt. ...
      (comp.emacs)