need to transfer files from a windows computer to a CentOS server. I was planning on using WinSCP to do so. I would like to learn how to get the server configured correctly to accept SCP or FTP connections.
I have installed Centos 6.2 from a LiveDVD to a hard drive.
I was following the instructions found here: http://www.cyberciti.biz/faq/centos-ssh/
I have run these commands:
yum install openssl
yum -y install openssh-server openssh-clients
chkconfig sshd on
service sshd start
I have edited /etc/sysconfig/iptables and added this line:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
when i restart iptables with:
service iptables restart
..I receive an error: "iptables-restore: line 12 failed"
Line 12 is the line that I added.
Any help and advice is appreciated.