Transfer file from remote machine to local machine

Joel Rees joel.rees at gmail.com
Tue Jul 18 09:18:34 UTC 2017


On Mon, Jul 17, 2017 at 8:07 PM, Xen <list at xenhideout.nl> wrote:
> Karl Auer schreef op 17-07-2017 12:41:
>>
>> On Sun, 2017-07-16 at 18:45 +0200, Xen wrote:
>>>
>>> What SSH really misses is a way to "get" a file where you are.
>>
>>
>> Isn't scp exactly that? If you have ssh access to  system, you have scp
>> access to it (modulo file permissions at each end of course).
>>
>> Having that built into ssh itself would IMHO break the model of "do one
>> thing well".
>
>
> I know and I guess you can always find the client with $SSH_CLIENT (didn't
> know that at first) but otherwise it can be a bit annoying.
>
> In other words, you *can* copy back to $SSH_CLIENT but of course it needs
> another login.
>
> Personally I wouldn't mind a little more "flesh" to the whole SSH thing, but
> whatever.
>
> The X protocol allows for this, you know. But without X, you are the
> proverbial 'screwed' for instance in terms of copy and paste.
>
> So you can.... you can run a GVim session even from Windows (using XMing)
> and you well have copy and paste just fine (honestly, it works) but in raw
> terminals using regular Vi you are stuck with plain copy and paste using
> text selection in the terminal window???
>
> I wish we had that thing for regular Vim.
>
> X-forwarding also works with a tunnel but yeah. PuTTY clients and other
> clients can set it up automatically.
>
> But I don't like GVim and it looks bad in a window on Windows at least. So
> this very simple thing, we don't have?

I think you want kermit:

https://en.wikipedia.org/wiki/Kermit_(protocol)

http://www.kermitproject.org/

apt-cache search kermit

Whether it would help the OP or not, I don't know. Haven't used it in
a really long time. I probably should check it out, except scp does the
job nicely enough for me, and I think tunneling should take care of the
OP's needs here.

-- 
Joel Rees

One of these days I'll get someone to pay me
to design a language that combines the best of Forth and C.
Then I'll be able to leap wide instruction sets with a single #ifdef,
run faster than a speeding infinite loop with a #define,
and stop all integer size bugs with my bare cast.
http://defining-computers.blogspot.com/2017/06/reinventing-computers.html

More of my delusions:
http://reiisi.blogspot.com/2017/05/do-not-pay-modern-danegeld-ransomware.html
http://reiisi.blogspot.jp/p/novels-i-am-writing.html




More information about the ubuntu-users mailing list