summaryrefslogtreecommitdiff
path: root/hurd/running/qemu/networking/sharing_files.mdwn
blob: f897bb689a089856e08ab9349358bd54dcfa15cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[[meta copyright="Copyright © 2007 Free Software Foundation, Inc."]]
[[meta license="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
is included in the section entitled
[[GNU_Free_Documentation_License|/fdl]]."]]

# SCP

Setup OpenSSH server on host system. 

* Copying files from Guest to Host

        $ scp <file> <user>@<host>:

* Copying files from Host to Guest.

        $ scp <user>@<host>:<file>

Use scp -r for copying directories.


# FTP

Setup ftp server (like proftpd) on the host.

* Use ftp client from GNU inetutils

        $ ftp <host>

    Use mget to copy files from host and mput to copy files to the host.

* The GNU way - setup an ftp translator

        $ settrans -ac ftp/<host> /hurd/ftpfs <username>:<password>@<host>:<path>