Re: Transferring files over SSH in the console



well you can ssh to the remote machine first, then scp back to the
localhost from the remote machine, does the trick?

Best,
Ustun

On Sun, Mar 21, 2010 at 4:14 PM, Ron Johnson <ron.l.johnson@xxxxxxx> wrote:
On 2010-03-21 18:05, Dotan Cohen wrote:

The default
/etc/ssh/sshd_config
has a
subsystem sftp ...
towards the end of the file, so you should be able to run
sftp user@host
and use the above ftp commands.


Yes, but then I cannot get a regular shell for vim and such. I need to
both run commands and also transfer files.


That's what scp is for!!!!!

--
"History does not long entrust the care of freedom to the weak
or the timid."  Dwight Eisenhower


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject
of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/4BA6A861.5040102@xxxxxxx




--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/369716d1003211615g12fe82bai566708aa2922c969@xxxxxxxxxxxxxx



Relevant Pages

  • Re: dd or cp over network: should I use scp?
    ... You might also want to enable SSH compression, ... I'd use scp unless I need an exact copy of the disk. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: Squeeze on Acer Aspire 5250, wont transfer files
    ... I tried to scp the file to myself on my local network -- 32k was ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: Transferring files over SSH in the console
    ... ustun@remote>tar xzvf file.tgz ... ustun@remote> scp file.tgz ustun@local: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • CUPS - Stuck
    ... The system was working until a recent upgrade. ... remote machine I see the job which is marked as "Processing", ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: dd or cp over network: should I use scp?
    ... laptop. ... Should I just use scp to copy over the LAN? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)