diff options
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/running/qemu.mdwn | 3 | ||||
-rw-r--r-- | hurd/running/qemu/networking.mdwn | 2 | ||||
-rw-r--r-- | hurd/running/qemu/networking/sharing_files.mdwn | 36 |
3 files changed, 39 insertions, 2 deletions
diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index 4c7e20ce..efb72e01 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -60,7 +60,8 @@ Now take the number of sectors for the beginning of the partition and multiply i # Networking in QEMU -Some further notes about [[networking]]. +Some further notes about [[networking]] and home hints about +[[networking/sharing_files]]. ## Internet Access diff --git a/hurd/running/qemu/networking.mdwn b/hurd/running/qemu/networking.mdwn index f2a34938..fc950118 100644 --- a/hurd/running/qemu/networking.mdwn +++ b/hurd/running/qemu/networking.mdwn @@ -38,4 +38,4 @@ You might be able to do it using iptables, some clues <http://sujith-h.livejournal.com/9520.html> Use scp,ftp... to transfer files (also see -[[hurd/running/debian/faq#index2h1]]). +[[hurd/running/debian/faq#index2h1]]), read about [[sharing_files]]. diff --git a/hurd/running/qemu/networking/sharing_files.mdwn b/hurd/running/qemu/networking/sharing_files.mdwn new file mode 100644 index 00000000..f897bb68 --- /dev/null +++ b/hurd/running/qemu/networking/sharing_files.mdwn @@ -0,0 +1,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> |