![]() ![]() OK, I got it by using sftp from a terminal. It has come in handy to be able to do so. Using a dynamic DNS service like DDNS, I can access my home system even while I am traveling. I also made an entry for my custom port in my router. If all goes well, you should connect (will have to allow the keys the first time) and be able to transfer programs between your laptop and desktop system. The next time you open the Site Manager, your settings will have been saved and you can hit the Connect button. Choose your logon type and hit OK to save. Use a program like Filezilla and in the Site Manager, enter the IP address for your host, the port you chose, and SFTP - SSH File Transfer Protocol in the Host and Protocol boxes, respectively. Under Boolean, look for ssh and enable the allow ssh with chroot env to read and write files in the user home directories)Ĥ. look in the Network Port section under ssh_port_t and make sure you add your chosen port there. (This one stumped me at first and gave me symptoms similar to what you describe. make sure the service is allowed in SELinux. (make sure you create the port address in the Other Ports section of the firewall setup)ģ. make sure the port you choose is opened in the firewall. (for security sake, if you intend to use a service like ddns, pick an alternate port)Ģ. I totally agree opening port21 to the universe is a bad idea.īut can the client use ssh/stfp ? For example 'filezilla is a valid sftp client.Ĭan you login via ssh from the client system ?įWIW when you re-install you create a new ssh host key, and so clients (other sys using 'ssh/sftp' may need to have the old keys manually deleted.ġ. Sidebrnz - what exactly are you trying to accomplish ? No similarity to ftp except both transfer files. Post #2 suggests using the sftp utility which is far better but has absolutely ZERO relationship to ftp (and only a tangential relationship to ssh). Sidebrnz were you using an FTP port forwarding command like, So Sidebrnz seems to want to use port21 ftp. 'ftp over ssh' has a fairly specific meaning wrt port forwarding port 21 (the ftp port) but no one w/ the least concern abt security should be serving ftp protocol - ever. Well I have to admit I'm just puzzled by this thread. (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.) Alas, when I try to use gFTP, it still reports this:Įrror: Could not read from socket: Connection reset by peerĭoes 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. I've edited /etc/ssh/sshd_conf and uncommented the line specifying Port 22 and restarted the service. Systemctl shows that rvice is enabled and running. I've checked the firewall config and ssh is allowed in. (I have my own domain, and use dynamic DNS to access my machine and Port 22 is forwarded to the correct internal IP.)Īlas, 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. ![]() 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. OpenSSH for Windows has the below commands built in.I have both a desktop and a laptop running Fedora 17 and Xfce. OpenSSH includes a range of components and tools designed to provide a secure and straightforward approach to remote system administration. SSH is based on a client-server architecture where the system the user is working on is the client and the remote system being managed is the server. OpenSSH has been added to Windows (as of autumn 2018), and is included in Windows Server and Windows client. OpenSSH is the open-source version of the Secure Shell (SSH) tools used by administrators of Linux and other non-Windows for cross-platform management of remote systems. Applies to Windows Server 2022, Windows Server 2019, Windows 10 (build 1809 and later) ![]()
0 Comments
Leave a Reply. |