Re: Piping file to scp

From: Bill Moseley (moseley_at_hank.org)
Date: 08/30/03

  • Next message: Ron Johnson: "Re: FW: OT: Why is C so popular?"
    Date: Sat, 30 Aug 2003 08:23:06 -0700
    To: Neo <netman1@home.nl>
    
    

    On Sat, Aug 30, 2003 at 04:47:16PM +0200, Neo wrote:
    > 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 ;-) ?

    Ah, no. It's Saturday morning and I'm out of coffee. Going to be a
    rough day.

    Thanks for the clue stick wack!

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

  • Next message: Ron Johnson: "Re: FW: OT: Why is C so popular?"

    Relevant Pages

    • Re: SSH is disconnecting at random
      ... I have recently installed Debian sarge on an old machine and usually log on using ssh since I don't have a monitor hooked up to the machine. ... It has been working fine for some time but recently, the computer has been disconnecting me at random and closing the connection. ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: iptables not behaving the way I expected
      ... On 4/18/07, Jim Hyslop wrote: ... I've set my SSH to accept only public key authorization, ... tcp -- anywhere anywhere tcp dpt:ssh state NEW ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: ethernet howto
      ... But I have no idea where to start from scratch, have never done this before I ... Then transfer the files the way you like, by ftp, ssh, rsync, tftp, www, ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: [opensuse] OpenOffice freezes the system
      ... Connectivity doesn't seem to affected here either, as I can ssh into the machine at a very fast speed and response time ... I'll also try to access the menu items using keyboard shortcuts as Brad suggests... ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
      (SuSE)
    • Re: LAN
      ... encryption/decryption). ... Or speed it up, with compressible data, by supplying the -C ... I think you can also ask SSH to use a faster cypher suite ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)