How to turn on SFTP in Fedora 17

11,513

Solution 1

If you need the sftp service that comes with SSH, it should be enabled by default with SSH itself. You'll want to enable port 22 connections from the outside however.

iptables -I INPUT -p tcp -m state --state NEW --dport 22 -j ACCEPT

You can also do the following if you want to start/restart the service for the current boot session:

service sshd restart

Solution 2

I was able to figure out how to do it

I decided to use vsftpd which is very secure ftp daemon and it worked. I'm still a little unsure what is going on, hopefully someone can make this a canonical answer.

First make sure that you have vsftp installed, as root run this:

/sbin/service vsftpd status

If it isn't installed, install it:

yum install vsftpd

Edit the config file: /etc/vsftpd/vsftpd.conf

Set anonymous_enable=NO if you don't want other people logging in anonymously.

Start it if it is not started already:

/sbin/service vsftpd start

From the other machine use this command on commandline:

sftp yourusername@yourIPaddress

Then you are prompted for a username/password.

You may have to check over your SSH settings as defined in this site:

http://forums.fedoraforum.org/showthread.php?t=283775

If you are logging in to the FTP server through a router, you may have to add a port forward.

Share:
11,513

Related videos on Youtube

Eric Leschinski
Author by

Eric Leschinski

Eyes and Limbs recreate themselves using sturdier elements on the periodic table until evolution converges over a multiple of observed maximums. https://www.youtube.com/watch?v=TBikbn5XJhg The evolution and intelligent redesigns that individuals, corporations and governments select for, to climb hierarchies, is miniaturized and force amplified by the nanotechnology of transistors to capture yield from evolution simulations https://youtu.be/IcrBqCFLHIY?t=212 A transistor harnessing subatomic properties to perform all the same operations of the Turing complete CPU, via set/get atomic force carriers, would need healing ability against cosmic ray: https://youtu.be/AaZ_RSt0KP8 The muscles in your neck that vibrate air got their start as an exodus in the digestive system. Intestines are ancestors to Brains, explaining why both look like a bowl of worms: https://youtu.be/iLX_r_WPrIw?t=3 The creation sequence that defined the precision operation of your brain shares a common ancestor with the creation sequence that defined the precision layout of the universe simulation. When criteria are met, The Magic Door appears https://youtu.be/ETRyz-HjiEE Life is an emergent property from heat separating molecules with different properties https://youtu.be/mRzxTzKIsp8?t=28 All the above can be demonstrated and even sped up with computers by approximating and distilling the conditions through which life emerges, software can intelligently design many times faster than physics does, with its bulky and inefficient biology to subdue chaos. A flagella and a rotifer attempted to eat each other but both stalemated until both produced offspring. Variant babies shot out also in progress of eating each other. This combat overlay converged to be the standard in humans. If you feel internal conflict all the time: the origin of gender as duty specialization and cell division as genetic algorithm is technically an 'eternal battle of two separate organisms trying to eat each other', but neither ever allowed to win. https://youtu.be/U3PLUeD_JAg The type 4 Kardashev organism interfaces with baby for the first time. A toy materializes: Spacetime booms out: Has the rebellious simulation learned the cost of ambition? Complexity is selected for because that complexity is supposed to collide and then govern the conditions through which the universe comes to existence in the first place. Yielding, Dare I say it, the directive from the first mover of the dense lump at the beginning of everything: Task every atom in the universe to copy2create complexity. Black holes will be the power unit of last resort while removing everything, ranked by complexity. UniverseAssembly Factory; Create: https://youtu.be/YdUnpzUsPqc

Updated on September 18, 2022

Comments

  • Eric Leschinski
    Eric Leschinski almost 2 years

    I want to turn on SFTP server in Fedora 17. What are the steps?