I'm trying to set up an ftp site with my SuSE install. I'm using TFTP that came installed with SuSE 9.3. I went into YaST and enabled it and told it to configure the firewall appropriately etc. My question is that I have to connect from work to it using Secure FTP (SFTP). Is this possible with TFTP? If so where would I do the configuration of it? Thanks. jay
On Tuesday 06 September 2005 5:20 pm, Jay Paulson wrote:
I have to connect from work to it using Secure FTP (SFTP). Is this possible with TFTP?
I don't know much about TFTP but if you're going to use sftp you need to run the SSH server on your home machine. The configuration file for the SSH daemon is /etc/ssh/sshd_config. It will listen on port 22 (by default). Thus, you'll need to open that port on your firewall. To start the ssh server, type (as root): rcsshd start HTH, Jorge
Jay Paulson wrote:
I'm trying to set up an ftp site with my SuSE install. I'm using TFTP that came installed with SuSE 9.3. I went into YaST and enabled it and told it to configure the firewall appropriately etc. My question is that I have to connect from work to it using Secure FTP (SFTP). Is this possible with TFTP? If so where would I do the configuration of it? google tftp.
This on Wikipedia: uses UDP rather than TCP no authentication or encryption mechanisms Good grief, it cannot even list directory contents, why on earth would you even want to use it?
On Tue, Sep 06, 2005 at 05:22:12PM -0600, Darryl Gregorash wrote:
Good grief, it cannot even list directory contents, why on earth would you even want to use it?
It's *very* lightweight. I recently built a diskless firewall running SuSE - TFTP is lightweight enough that you can program an ethernet card boot ROM to download a boot image - my boot sequence worked like this: PC boots from ethernet boot ROM Ethernet boot ROM code creates small ramdisk, and loads ramdisk image from TFTP server, containing kernel, plus FTP client and a few scripts PC boots kernel from ramdisk Boot script in ramdisk creates new, much larger ramdisk Boot script downloads new ramdisk image from FTP server, using ftp client on ramdisk (TFTP has an inherent filesize limit; I think it's 16 MB but it might be 32 MB or 64 MB). Boot script chroots over to new ramdisk and destroys old ramdisk image. This way, I could run my firewall completely silently - the K6II-500 was underclocked to 166 MHz, the processor heatsink was replaced with large "flower"-style one, and the motherboard was underclocked to 33 MHz. This meant I could remove the processor and PSU fans. I installed enough RAM so that the system could run entirely from ramdisk, so there was no need for any disks at all. As it also ran from ramdisk, there was no need to shut down - I just switched it straight off. Also, if it ever got rooted, I could just hit the reset button and I'd get a clean, untainted system immediately. -- David Smith Work Email: Dave.Smith@st.com STMicroelectronics Home Email: David.Smith@ds-electronics.co.uk Bristol, England GPG Key: 0xF13192F2
participants (4)
-
Darryl Gregorash
-
David SMITH
-
Jay Paulson
-
Jorge Fábregas