|
Included within OpenSSH is a program which permits the secure copying
of files from the local to the remote computer and, of course, conversely,
the program is
scp.
Some elementary command syntax follows.
# Upload to
scp file1 [...] [user@server:file2]
# Download from
scp [user@server:file1] [...] file2
# Note that wildcard characters are also allowed for remote filenames,
# but they must be quoted as appropriate.
The following command uploads a local file named glue.html into the
~/www/ directory on the server:
$ scp glue.html myname@lilly.csoft.net:www
Multiple files can be uploaded at once:
$ scp *.html myname@lilly.csoft.net:www
Downloading works in a similar fashion:
$ scp myname@lilly.csoft.net:foo.tar.gz .
If you would like a FTP client style interface, use sftp:
$ sftp myname@lilly.csoft.net
There are also graphical clients such as
gFTP.
|