Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
This is the resuls:
ssh: connect to host 192.168.2.253 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.2]
This is the resuls:
ssh: connect to host 192.168.2.253 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.2]
It can't connect to the remote system.
Can you SSH to it?
If so, did you setup keys?
This is the resuls:
ssh: connect to host 192.168.2.253 port 22: Connection refused
Is port 22 (the ssh one) open on the NAS?
And if so, are both sshd (the ssh daemon) and rsync (cq rsyncd) available there?
PS: rsync normally uses ssh to connect to the remote system to start a copy of ssh in server mode (unless rsyncd is already running there, then it can just connect TO it):
Quote:
It is also possible to use rsync without a remote shell as the transport. In this case you will directly connect to a remote rsync daemon, typically using TCP port 873. (This obviously requires the daemon to be running on the remote system, so refer to the STARTING AN RSYNC DAEMON TO ACCEPT CONNECTIONS section below for information on that.)
You get the error on port 22, so it is trying to connect through a remote shell as the transport.
That remote shell can be either ssh(d) - port 22 - or rsh - port 513
Is sshd (the ssh server daemon) installed and running on the target computer?
It is not a computer, a NAS (Network Attached Storage is a set of disks with firmware that form a mini network accessable system. See en.wikipedia.org/wiki/Network-attached_storage for more info.
That firmware (software) often is like Linux, and is somewhat configurable, through the network, of course,
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.