Loading ...
Sorry, an error occurred while loading the content.

Re: [nslu2-linux] rsync and ssh command

Expand Messages
  • Eike Lang
    ... SSH ing into the server in interactive mode will open a login session using your standard shell and profile, using ssh server command does not. This is
    Message 1 of 5 , Jun 23, 2010
    • 0 Attachment
      Am 20.06.2010 um 15:41 schrieb ced23456:

      > WHat is the difference between : Me executing an ssh then env command AND ssh executing the command directly. WHy is the PATH different ?

      SSH'ing into the server in interactive mode will open a login session using your standard shell and profile, using "ssh server command" does not. This is just the way it works.

      The easiest solution is to state the full path to the command or to issue several commands (be sure to escape the semicolons so your local shell does not interpret them) that first set the path and then call the command.
    Your message has been successfully submitted and would be delivered to recipients shortly.