linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Benoît Rouits" <brouits@free.fr>
To: kratzers@pa.net
Cc: linux-c-programming@vger.kernel.org
Subject: Re: fgets and ssh [resolved]
Date: Wed, 11 Apr 2007 17:23:47 +0200	[thread overview]
Message-ID: <1176305028.7094.6.camel@chimay> (raw)
In-Reply-To: <200704111001.28012.kratzers@pa.net>

Thank you very much Stephen, now it works with "-c command"
and so "scp" can also work.

Le mercredi 11 avril 2007 à 10:01 -0400, Stephen Kratzer a écrit :
> When ssh is executed in the form 'ssh user@host command', the login
> shell of 
> the user will be called like so: 'shell -c command'. That is, commands
> are 
> not fed into the shell interactively on stdin, they're provided as
> arguments 
> following a -c option flag. 
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2007-04-11 15:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-11 12:17 fgets and ssh Benoît Rouits
2007-04-11 14:01 ` Stephen Kratzer
2007-04-11 15:23   ` Benoît Rouits [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1176305028.7094.6.camel@chimay \
    --to=brouits@free.fr \
    --cc=kratzers@pa.net \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).