![]() ![]() Once you're installed it, open WinSCP and select the SCP option in the File Protocol field.Īdd the IP address or DNS name of your Linux computer in the Host name field, and enter 22 in the Port number field. To use it, you first must download and install it. WinSCP is an open source SSH file transfer application for Microsoft Windows. To ensure your firewall allows SSH traffic, run this command: $ sudo firewall-cmd -add-service ssh -permanentįor more information on firewalls on Linux, read Make Linux stronger with firewalls. If you're not sure whether your Linux machine is running SSH, then run this command on the Linux machine: $ sudo systemctl enable -now sshd The WinSCP command uses the OpenSSH protocol, so your Linux computer must be running the OpenSSH server software, and its firewall must allow SSH traffic. If you're not sure which is which, you can try each one in succession until you get the right one (and then write it down somewhere!)Īlternatively, you can look in your router's settings, which list all addresses assigned over DHCP. On your system, the IP address is likely to be different. In all cases, 127.0.0.1 is a loopback address that the computer uses only to talk to itself, so in this example the correct address is 192.168.1.23. Assuming it's a computer on your same network, and that you're not running a DNS server to resolve computer names, you can find the destination IP address using the ip command on the Linux machine: $ ip addr show | grep 'inet ' ![]() Before you can make the transfer, you must know the IP address or fully-qualified domain name of the destination computer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |