www.knoppix.net
 Permission to use these pages kindly granted by www.knoppix.net.
 These pages are a static version of those available at www.knoppix.net. Please check there for the latest information. Converted on 9/5/2003.
 Thanks to the many contributors to www.knoppix.net!

 Faq FTP

Q: How do I copy files over a network using knoppix?

Contributed by mailtoCharan

A: Knoppix can be used as recovery CD. Most of the times if I want to recover large files I boot the dead machine with a knoppix cd and copy files over the network.

I will explaining two methods I use:

1) FTP

The knoppix cd has an ftp server installed on it. However if you try to ftp to a knoppix machine you will get a connection refused message. This is due to the settings in the /etc/hosts.deny file. The hosts.deny file is in fact a symlink to /KNOPPIX/etc/hosts.deny The last line of it reads as below

ALL:PARANOID

The stock hosts.allow files will allow ftp from localhost only. You will have to change this too. These two files are prohibiting ftp connections to the knoppix system.

What I do is to delete the symlink and restart inetd.conf Here are the necessary steps: 1) Configure networking from the menu

2) Open a console and set a password for user knoppix

$ passwd knoppix

3) Open a root shell

# rm /etc/hosts.deny

# rm /etc/hosts.allow

# /etc/init.d/inetd restart

Now the ftp server is ready and from any client you can ftp to knoppix system, use 'knoppix' as user name and the password you set as password.

2) SCP (via SSH)

Knoppix cd comes with ssh, in order to copy files with scp 1) Setup networking

2) Open a console and set a password for user knoppix

$ passwd knoppix

3) Open a root shell

# /etc/init.d/ssh start

Now copy files with scp : on unix : "man scp" ;)

Microsoft Windows users I would recommend to use putty as SSH client. httppscp


Last edited on April 2, 2003 9:04 pm.