Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 35964

Problem using ftp over ssh

$
0
0
I have both a desktop and a laptop running Fedora 17 and Xfce. Until recently, I was able to use gFTP on my laptop to transfer files using SSH2 and Port 22, either from home or on the road. (I have my own domain, and use dynamic DNS to access my machine and Port 22 is forwarded to the correct internal IP.)

Alas, since I was forced to re-install F 17 on my desktop, I've only been able to use FTP and Port 21, which I'd rather not open to the outside world. Oddly enough, ssh itself works. I've checked the firewall config and ssh is allowed in. Systemctl shows that sshd.service is enabled and running. I've edited /etc/ssh/sshd_conf and uncommented the line specifying Port 22 and restarted the service. Alas, when I try to use gFTP, it still reports this:

Error: Could not read from socket: Connection reset by peer

Does anybody know what I'm doing wrong, or what I should be doing? It's not urgent, but I know I had it working before and I should be able to get it working again. (Please note that I can connect via Port 21 only because I'm inside the LAN and can connect to the local, non-routable address directly; Port 21 is not available to the outside world.)

Viewing all articles
Browse latest Browse all 35964

Trending Articles