Reputation: 421
I have a CentOS server where I have installed the vsftpd service, however I am getting the error
bash: sftp: command not found
Even the which sftp
command can't find this service.
Detailed steps below :
As root:
yum install vsftpd
Total download size: 139 k
Is this ok [y/N]: **y**
Configure:
vi /etc/vsftpd/vsftpd.conf
Change anonymous_enable=YES
to anonymous_enable=NO
Add userlist_deny=NO
after userlist_enable
Add allowed users:
vi /etc/vsftpd/user_list
Replace contents with:
vsftpd userlist
userlist_deny=NO
so only allow users in this file
user
Turn on Vsftpd service
chkconfig vsftpd on
Start the service
service vsftpd start
Can someone help figuring out what I'm doing wrong ?
Upvotes: 0
Views: 2735
Reputation: 25926
sftp
binary is provided by the openssh-clients
package. Install that before:
yum install openssh-clients
then you can run sftp
.
Upvotes: 3
Reputation: 1557
Assuming the vsftpd daemon is now running and can get through any firewall you have, you need to use an ftp client to connect to the server.
yum install ftp
ftp x.x.x.x
<-- IP address of server
That will show that it is working. Remotely you will need a client such as Filezilla.
Upvotes: 0