Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I may be off base here, but I see:
a) successful ping of the client.
b) start the ssh process.
c) process PID is assigned.
d) process fails.
I don't see indication of successful connection. You indicate that the root user of the server is identified in a file on the client, but I don't see anything in the ssh command that tells either the server or the client to use that file. See -i identity_file in the man mages.
You indicate that the root user of the server is identified in a file on the client, but I don't see anything in the ssh command that tells either the server or the client to use that file. See -i identity_file in the man mages.
On the client, in the root user's .ssh directory, authorized_keys2 file contains the public key of the server's user backuppc. The private key is on the server as .../backuppc/.ssh/id_rsa, which is the default if -i identity_file is not specifide. So the option to pick the identity file (a different private key) is not required. (I don't know if backuppc supports this option to ssh, it might).
You're right, I don't see evidence of a successful connection either. However, when testing an ssh from server to client root, I showed that it works with no password entry, therefore using the keys. I don't know why it should fail when backuppc runs a more complicated command.
Does anyone know a verbose option that I could use to debug this?
Yes, the client's key is on the server's .../backuppc/.ssh/known_hosts.
It was either pasted there by me, or when I ssh root@client from server, I accepted the host key. In any case, root/.ssh/id_rsa.pub is in the known_hosts.
Success with ssh using commandline from server to client indicates that all authentication is working doesn't it?
rsync will be tunneled through SSH (port 22). SSH needs to know the hostname or IP address of the client. Unless you have a DNS server that resolves falko-desktop to its IP address, SSH will not be able to resolve the name falko-desktop. Therefore we replace $host with $hostIP in $Conf{RsyncClientCmd} and $Conf{RsyncClientRestoreCmd}.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.