On 07/11/06, Michael Brown <[EMAIL PROTECTED]> wrote:
How do I get the linux box to send files to the windows one? I need to
back
What do the ssh server logs have to say about this attempt?
Also I don't see in your rsync command line that you tell it to use ssh to
connect - it probably tries to connect directly to an rsync server.
Read "man rsync", section titled "USING RSYNC-DAEMON FEATURES VIA A
REMOTE-SHELL CONNECTION" (at least with rsync 2.5.6 on Debian).
Administrator@ 10.0.9.1's password:
Permission denied, please try again.
Administrator@ 10.0.9.1's password:
Permission denied, please try again.
Administrator@ 10.0.9.1's password:
Permission denied (publickey,password,keyboard-interactive).
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(459)
[receive
r=2.6.8]
Well - you try to login as user "Administrator" on the Linux box, and you
say you don't have such a user so how do you expect this to work?
There is no Administrator account on 10.0.9.1. There is root, but if I put
in [EMAIL PROTECTED] into the command it won't accept the root password. But
if
I just try to ssh in, it will.
Maybe root is specifically forbidden from logging in directly through ssh
("PermitRootLogin no" in sshd_config), which is generally a good thing(TM).
I'm confused.
Any ideas?
Make sure rsync uses ssh to connect, make sure the user is capable to login
to the other side using the private/public key pair (so you don't have to
type a password interactively), look at the log files.
HTH,
--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html