Difference between revisions of "FTP FAQ"


From Knoppix Documentation Wiki
Jump to: navigation, search
m
(despammed)
Line 1: Line 1:
*German version: [[FTP FAQ Deutsch]]
 
 
*Versión en español: [[FTP FAQ Spanish]]
 
 
*Versi Bahasa Indonesia: [[Indonesian FTP FAQ]]
 
 
----
 
Return to [[Knoppix FAQ]]
 
----
 
=== Q: How do I copy files over a network using knoppix? ===
 
Contributed by [mailto:sunil_tt@yahoo.com Charan]
 
 
'''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 explain two methods I use:
 
 
==== 1) FTP ====
 
==== 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 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
Line 31: Line 16:
 
**'''/etc/init.d/inetd restart
 
**'''/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.
 
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
 
*Setup networking
 
*Open a console and set a password for user knoppix:
 
**'''passwd knoppix
 
*Open a root shell and do:
 
**'''/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. [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download pscp]]
 
 
----
 
Return to [[Knoppix FAQ]]
 
<div style="overflow:auto; height: 1px; ">
 
[http://21jewelry.com Fine Jewelry]
 
[http://mrjeweller.us Gold Jewelry]
 
[http://detox-kit.com Drug detox]
 
[http://adipex.shengen.ru adipex]
 
[http://diazepam.shengen.ru diazepam]
 
[http://protonix.shengen.ru protonix]
 
[http://hydrocodone.shengen.ru hydrocodone]
 
[http://detox-kit.com/categories/marijuana-detox/ Marijuana detox]
 
[http://detox-kit.com/categories/detox-drinks/ Detox Drinks]
 
[http://detox-kit.com/categories/saliva-detox/ saliva drug detox]
 
[http://detox-kit.com/categories/saliva-detox/ saliva detox]
 
[http://detox-kit.com/categories/hair-detox/ hair detox]
 
[http://detox-kit.com/categories/hair-detox/ hair drug detox]
 
[http://tests-market.com/categories/first-aid/ first aid kit]
 
[http://tests-market.com/categories/drug-tests/ drug test]
 
[http://tests-market.com/categories/alcohol-tests/ alcohol test]
 
[http://tests-market.com/categories/ovulation-tests/ ovulation test]
 
[http://mrjeweller.us/categories/earrings/ earrings]
 
[http://mrjeweller.us/categories/earrings/ gold earrings]
 
[http://mrjeweller.us/categories/pearl-earrings/ pearl earrings]
 
[http://mrjeweller.us/categories/anklets/ anklet]
 
[http://mrjeweller.us/categories/anklets/ anklets]
 
[http://mrjeweller.us/categories/belly-piercings/ belly piercings]
 
[http://mrjeweller.us/categories/belly-piercings/ belly piercing]
 
[http://mrjeweller.us/categories/birthstones/ birthstone]
 
[http://mrjeweller.us/categories/birthstones/ birthstones]
 
[http://mrjeweller.us/categories/bracelets/ bracelets]
 
[http://mrjeweller.us/categories/bracelets/ bracelet]
 
[http://mrjeweller.us/categories/bracelets/ gold bracelet]
 
[http://mrjeweller.us/categories/bangle-bracelets/ bangle bracelet]
 
[http://mrjeweller.us/categories/rope-bracelets/ rope bracelets]
 
[http://mrjeweller.us/categories/rope-bracelets/ rope bracelet]
 
[http://mrjeweller.us/categories/chains/ gold chains]
 
[http://mrjeweller.us/categories/chains/ gold chain]
 
[http://mrjeweller.us/categories/beaded-chains/ beaded chains]
 
[http://mrjeweller.us/categories/charms/ charms]
 
[http://mrjeweller.us/categories/diamond-pendants/ diamond pendants]
 
[http://mrjeweller.us/categories/diamond-pendants/ diamond pendant]
 
[http://mrjeweller.us/categories/cubic-zirconia/ cubic zirconia jewelry]
 
[http://mrjeweller.us/categories/mens-bracelets/ men's bracelet]
 
[http://mrjeweller.us/categories/mens-rings/ men's ring]
 
[http://mrjeweller.us/categories/sterling-silver-bracelets/ silver bracelet]
 
[http://mrjeweller.us/categories/sterling-silver-chains/ silver chains]
 
[http://toe.shengen.ru toe rings]
 
[http://detox.shengen.ru drug detox]
 
[http://jewelry.shengen.ru fine gold jewelry]
 
</div>
 

Revision as of 14:00, 20 August 2005

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 delete the symlink and restart inetd.conf Here are the necessary steps:

  • Configure networking from the menu
  • Open a console and set a password for user knoppix:
    • passwd knoppix
  • Open a root shell and do:
    • 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.