Web Hosting Ask
file transfer through ftp - Printable Version

+- Web Hosting Ask (https://www.webhostingask.com)
+-- Forum: Web Hosting Main Forums (https://www.webhostingask.com/forumdisplay.php?fid=3)
+--- Forum: Web Hosting (https://www.webhostingask.com/forumdisplay.php?fid=5)
+--- Thread: file transfer through ftp (/showthread.php?tid=107)



file transfer through ftp - Enzoengine690 - 10-01-2021

I'm learning how to use Linux. I've set up two Centos 7 virtual machines. I'd like to move files between these two CentOS VMs.
To keep it simple, I log in as root with the same password on both machines. Both machines are pinging each other (network established).
I turned off the firewall on both machines. The FTP package is installed and operational on both machines. However, when I enter the command ftp <ip address of other machine>, I receive the error "connection refused." This has something to do with authorizations.
But if I'm using root as a user, what's the problem? What am I doing wrong?



RE: file transfer through ftp - GiovanniChilled - 10-26-2021

To use ftp, you must first set up, configure, and run an ftp server. That isn't included in the default installation, so you'd have to install it first.

Ssh and related utilities such as scp and sftp are included in the default installation. Instead, use one of those.