ERRATA : interactive and login shells: bug or design decision ?

From: Cristian Zoicas (zoicas_at_ictp.trieste.it)
Date: 03/24/05

  • Next message: Fonseca Mario: "sftp security"
    Date: Thu, 24 Mar 2005 14:44:42 +0100
    To: secureshell@securityfocus.com
    
    

    Hello all

    It seems that I have to correct my post on this mailing list.

    When I execute: <ssh user@somesite.com>, I get a login shell, but
    when I execute: <ssh user@somesite.com command>, command does not run
           under a login shell.

    Of course I do not expect the shell started in the second command to be an
    interactive one, but I am expecting my command to run under a login shell.

    The ssh version that I use is OpenSSH_3.6.1p2

    The question is the same: Is this behaviour a bug or a design decision ?
    If it is a design decision, then what are the reasons to have it like this.

    Thx again
    Z. Cristian


  • Next message: Fonseca Mario: "sftp security"

    Relevant Pages

    • Executing remote commands via ssh causes zombie process
      ... I tried to execute the command "ls -l" using the ssh executable on the ... it's not relevant whether I use plink or ssh. ...
      (Debian-User)
    • Re: rssh testing
      ... This doesn't seem right, I would think I should get a command prompt, ... fact that sftp is allowed, ... configure commands via ssh. ... never get a prompt from the remote login shell. ...
      (comp.security.ssh)
    • Re: SSH Sessions ?
      ... Has anyone written or have a way to do SSH sessions via ADA? ... I'm doing this very thing myself, and I'm just using the command line ... I don't need to do much that's complicated, just execute a remote ...
      (comp.lang.ada)
    • Re: need help with a shell script
      ... Simply giving "su" a command to execute will run it in the ... The additional - creates a login shell, ... the result cannot be a valid encrypted password anymore, ...
      (RedHat)
    • Re: How Can I Securely Execute Script on Remote Windows Host?
      ... machine A to synchronously execute another command line script written on ... SSH has an issue in that its operations are tough to limit to only a ...
      (comp.security.ssh)