On 2010-03-21 18:02, Dotan Cohen wrote:
On 22 March 2010 00:57, Selçuk Mıynat <selcukmiy...@gmail.com> wrote:
On Mon, Mar 22, 2010 at 00:52, Dotan Cohen <dotanco...@gmail.com> wrote:
I am managing a small embedded device that I SSH into over the LAN. To
run commands, I use KDE Konsole, and to transfer files I use Konqueror
and SFTP. I understand that SFTP also runs over SSH, so is there a way
to send files in Konsole as well? I am familiar with the FTP commands
such as cd, lcd, put, and get. Are there equivalent commands for SSH
terminal connections?
Are you looking for scp?

http://en.wikipedia.org/wiki/Secure_copy
http://www.helpdesk.umd.edu/documents/4/4801/


No, scp is for sending files to a remote machine that the user has yet
to connect to:

Eh?  I think you're imposing unneeded self limits.

localhost$ scp /path/to/file.txt u...@remotemachine /remote/path/

However, I want something like this:
localhost$ ls
file.txt
localhost$ ssh u...@remotemachine
remoteMachine$ ls
remoteMachine$ put file.txt
remoteMachine$ ls
file.txt
remoteMachine$

Of course, that "put" command does not exist in SSH (it does exist in
FTP). What _does_ work like that in SSH?


sftp.

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


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ba6a83c.5020...@cox.net

Reply via email to