Re: Comfortable ssh file management tool for linux ?

From: Dances With Crows (danceswithcrows_at_usa.net)
Date: 09/03/03


Date: 3 Sep 2003 00:15:57 GMT

On 2 Sep 2003 16:40:28 -0700, Mark Fischer staggered into the Black Sun
and said:
> Hello professionals !

I think you'll find that there are a lot of amateurs with Clue here.

> I have a question: Is there a handy tool to upload files with a ssh
> tool from a win-machine to a linux server and UNPACK IT ON THE SERVER
> ? (and vice versa?) As I am very new to linux all the command line
> style is quite messy for me.

Your question is not really well-formed. You use scp to transfer data
securely over ssh, like so:

scp localfile user@host.example.org:/path/to/remote/dir

...securely copies localfile to the directory /path/to/remote/dir on
machine host.example.org , using username "user". You will be asked for
a password if necessary (you can set up authorized public keys so that
scp and ssh do not require passwords.)

scp user@example.org:/path/to/remote/file .

...securely copies /path/to/remote/file on example.org to the current
working directory. Nothing to it.

Windows has a GUI equivalent for scp in WinSCP2. Google for it. It
works pretty well and it's a snap to use if you've ever used FTP
software. On Linux, I like to use Konqueror's fish:// support-- enter
"fish://user@example.org/" into the location bar of a Konqueror window,
Konq will ask you for a password, and you can browse everything on
remote machine example.org securely, and do almost anything to that
data, as if you were sitting right at the machine.

Manipulating data like this via a Windows client may not be as easy.
scp clients are typically meant to transfer data and very little else.
You can use PuTTY.EXE as an ssh client in Windows; Google for it. You
can manipulate compressed data on the command line in Linux with the
unzip, unrar, and tar commands. "unzip file.zip" does the obvious
thing. "unrar e file.rar" extracts all files in file.rar to the current
directory. "tar xzf file.tar.gz" and "tar xjf file.tar.bz2" extract
tarballs compressed with gzip or bzip2. HTH,

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / 
http://www.brainbench.com     /  "He is a rhythmic movement of the
-----------------------------/    penguins, is Tux." --MegaHAL


Relevant Pages