Re: Piping file to scp

From: Neo (netman1_at_home.nl)
Date: 08/30/03

  • Next message: Arnt Karlsen: "Re: OT: Debian Mailinglist server slow?"
    To: moseley@hank.org
    Date: 30 Aug 2003 16:47:16 +0200
    
    

    On Sat, 2003-08-30 at 16:26, moseley@hank.org wrote:
    > On Sat, Aug 30, 2003 at 09:47:37AM +0200, Neo wrote:
    > > On Sat, 2003-08-30 at 07:17
    >
    > , moseley@hank.org wrote:
    > > > I wanted to send an attachement directly from mutt to another machine.
    > > > Is there a way to pipe to scp? So in mutt, select the attachement and
    > > > then:
    > > >
    > > > | scp other.host:some_file.name
    >
    > > mutt ... | ssh uid@remotehost 'cat > /folder/archive.tar.gz'
    >
    > Can someone explain that one? That expects a file named
    > "uid@remotehost" if the ":" is missing, IIRC.
    >
    If you look more closely, you see that it is using ssh instead of scp...
    Didn't get your coffey yet ;-) ?

    Sincerely,

    Jan.

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Arnt Karlsen: "Re: OT: Debian Mailinglist server slow?"

    Relevant Pages

    • scp may be broken
      ... Earlier I set up a private key with ssh -keygen and copied it to the proper place on my isp's computer for me to use. ... That works fine with ssh but breaks with scp since scp says the key is too long and doesn't grant access to the other machine. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • ssh; sftp, and scp
      ... I have a key in place that allows me to log into shellworld.net using ssh. ... However attempts to use that key with sftp and scp and probably also stelnet get a response from shellworld.net that received message is too long. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • sshd zombie processes
      ... each scp or ssh I do to a 4.8-stable machine I have gives me two ... 'zombie' processes: ... To unsubscribe, ...
      (freebsd-stable)
    • Re: Why cant I scp inside my own router?? SOLVED, sort of ...
      ... And, yes, I have known it help in the past to ssh into the target ... and then scp back to get the file. ... What do they know of country, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: scp does not copy, no error msg, ssh works
      ... scholzuh@baby: scp test_file scholzuh@kiste: ... scholzuh@baby: ssh scholzuh@kiste ... Last login: Wed Apr 27 10:09:20 2005 ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)