Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

rsync --rsh=rsh

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Windows Server 2003 R2 SUA >> rsync --rsh=rsh Page: [1]
Login
Message << Older Topic   Newer Topic >>
rsync --rsh=rsh - Jun. 7, '06, 5:47:49 PM   
demyn

 

Posts: 34
Joined: Jun. 20, '05,
Status: offline
I'm having problems with rsync over rsh. Here's the output:
bash-3.00$ rsync --rsh=rsh hydra012:/
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(434)

/var/adm/log/messages gets:
Jun  7 14:38:26 hydra012.almaden.ibm.com rshd[1195]: connect second port 1022: Address already in use

rsh is working and doesn't generate the above syslog message:
bash-3.00$ rsh hydra012 ls /
bin
common
dev
docs
etc
help
...

and rsync over ssh is working:
bash-3.00$ rsync --rsh=ssh hydra012:/
demyn@hydra012's password:
dr-xr-xr-x           0 2006/06/07 14:34:14 .
lrw-r--r--           7 2006/01/05 21:06:14 lib
drwxr-xr-x           0 2006/05/19 15:46:02 bin
drwxr-xr-x           0 2006/05/07 23:27:00 common
drwxr-xr-x           0 2006/06/06 10:21:16 dev
...

I could use ssh instead of rsh, but in this situation there is no need for encryption and I'm moving a lot of files.

Any ideas?

-- Demyn
Post #: 1
RE: rsync --rsh=rsh - Jun. 7, '06, 8:12:20 PM   
demyn

 

Posts: 34
Joined: Jun. 20, '05,
Status: offline
Also, rsync --daemon fails with syslog showing:
Jun  7 17:07:56 hydra012.almaden.ibm.com rsyncd[1443]: rsync: rsync: unable to open configuration file "/etc/rsyncd.conf": No such file or directory (2)
Jun  7 17:07:56 hydra012.almaden.ibm.com rsyncd[1443]: rsync error: syntax or usage error (code 1) at clientserver.c(556)

-- demyn

(in reply to demyn)
Post #: 2
RE: rsync --rsh=rsh - Jun. 8, '06, 7:08:46 PM   
demyn

 

Posts: 34
Joined: Jun. 20, '05,
Status: offline
okay ... the rsync --daemon is fixed by creating a /etc/rsyncd.conf. The original rsh
issue is still a mystery.
(Also, sorry about my last couple postings -- I see they are certainly in the wrong forum.)

-- demyn

(in reply to demyn)
Post #: 3
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Windows Server 2003 R2 SUA >> rsync --rsh=rsh Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031