Step 1: Install vsftpd
[root@avkashcentnew ~]# yum install vsftpd
Package Arch Version Repository Size================================================================================Installing: vsftpd x86_64 2.2.2-6.el6_2.1 updates 149 k
Transaction Summary================================================================================Install 1 Package(s)
Total download size: 149 kInstalled size: 331 kIs this ok [y/N]: yDownloading Packages:vsftpd-2.2.2-6.el6_2.1.x86_64.rpm | 149 kB 00:00Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction Installing : vsftpd-2.2.2-6.el6_2.1.x86_64 1/1
Installed: vsftpd.x86_64 0:2.2.2-6.el6_2.1
Step 2: Edit vsftpd conf file as below:
Step 3: Be sure that vsftpd and iptables services are running
# service vsftpd start # service iptables start
Step 4: Add an EndPoint in your Virtual Machine configuration for vsftpd:
Step 5: Get the Virtual Machine IP Address configure FileZilla client as below to connect to CentOS Virtual Machine:
Once the SFTP connection is made correctly, the files are displayed as below in FileZilla:
Keywords: Windows Azure, Virtual Machine, Linux, CentOS
just a quick note to highlight that in Ubuntu iptables is not a service
Well, you don't need to install vsftpd to connect by sftp...
sftp is included in ssh.
However, is it possible to access files via ftp but not sftp?
I am always getting errors when connecting via ftp, no matter vsftpd under linux or IIS/filezilla ftp server...
This does not seem to work for me as well. I am using Ubuntu server, I have set passive mode, but is not able to retrieve the directory list.
I was able to get this to work by adding an endpoint to tcp 22 and connecting via sftp.
Really ? you are connecting via sftp that is port 22 !!!!