summaryrefslogtreecommitdiff
path: root/hurd/running/qemu/networking/sharing_files.mdwn
blob: 5bdec5f1aac7c7cd66fcf3edb902d69a771b37a2 (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
37
38
[[!meta copyright="Copyright © 2007, 2008 Free Software Foundation, Inc."]]

[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="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>