i wanted to send a file from one system to another system using SCP
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
im not able to send a file from my system to another system using scp
but a file can be sent from that system to my system. can anyone help me ?
this is the error that comes when i type the command
sudo scp file user@192.168.3.22:
ssh: connect to host 192.168.3.22 port 22: Connection refused
lost connection
'Connection Refused' sounds like a network thing of some sort. As others mentioned make sure sshd is running on the remote system, and make sure that it doesn't have a firewall running, or make sure port 22 is open.
You can get a better idea by using nmap. (First make sure it's installed on your machine.) Then try this in a terminal:
Code:
nmap -P0 -p 22 192.168.3.22
If it says the port is closed or filtered, it's probably a network problem.
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place.
The posts from the two threads on the identical problem have been merged.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.