symbolic links
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi all I tried to do a mirror with rsync, but the structure of directory that I want to download has some symbolic links,which they are maintained. The files into these directories aren't downloaded. Is there another way to download these files or directories ? Best regards, Epi -BEGIN PGP SIGNATURE- Version: PGP 6.5i iQA/AwUBOjeHbBrGIiXj/HKVEQLivQCfeaIr+/mjuPiPkW97PFBobqQWJIQAoJ2V NgeXhe+Hz/zol7f3JHhr7yyz =AV9K -END PGP SIGNATURE-
using rsync for remote transfers with rsh
Hi listers, I've just started to test rsync. However, after going through the internet documents, I still have some issues that I think you all can help me with so as not to reinvent the wheel. Please respond to the scenario I describe below: I know SSH is recomended, but for now I have to work with rsh. I have installed sudo, and have set up the /.rhosts file. I know it's not tight security. I currently use "sudo rcp" in my remote file transfer scripts which are executed by a user account which owns all the files in the application directory structure. This is how rcp is working for us: bbankmain{opmain}/usr/bank/opmain>rcp -r temp bbankbz:/home/bank/opbz permission denied. bbankmain{opmain}/usr/bank/opmain>sudo rcp -r temp bbankbz:/home/bank/opbz Password: bbankbz{opbz}/home/bank/opbz>ls -l temp total 896 -rw-rw-r-- 1 root other 446871 Dec 13 08:54 rsynctest.txt This is how rsh is working for us: bbankmain{opmain}/usr/bank/opmain>rsh bbankbz Password: Login incorrect login: Connection closed. bbankmain{opmain}/usr/bank/opmain> I used to have user level security working, but I disabled it since my scripts need to change permissions and ownerships with root priviledges. So I'm only using /.rhosts with authorized machine names. There is no user account named "opmain" on machine bbankbz , that's why we get the "Login incorrect" error. Trying to rsh as root as root gives: # rsh bbankbz Not on system console Connection closed. Which is OK for security reasons. Now, I tried this rsync command to transfer the same temp directory and its contents (as in the rsh example above) to machine bbankbz with the following results: bbankmain{opmain}/usr/bank/opmain>sudo rsync -av bbankbz:/home/bank/opbz/temp sh: rsync: not found unexpected EOF in read_timeout bbankmain{opmain}/usr/bank/opmain>which rsync /usr/local/bin/rsync bbankmain{opmain}/usr/bank/opmain>rsync -av bbankbz:/home/bank/opbz/temp permission denied. unexpected EOF in read_timeout bbankmain{opmain}/usr/bank/opmain>/bin/su Password: # rsync -av bbankbz:/home/bank/opbz/temp rsync: not found # /usr/local/bin/rsync -av bbankbz:/home/bank/opbz/temp sh: rsync: not found unexpected EOF in read_timeout # /usr/local/bin/rsync -av bbankbz:/home/bank/opbz/temp /usr/bank/opmain sh: rsync: not found unexpected EOF in read_timeout Any feedback would be appreciated! Regards, Knowledge is power, but it is only useful if it is shared! Denmark W.
Re: symbolic links
I'm not certain what result you want, but rsync will do your bidding. --copy-links makes it grab the file the link points to, instead of creating the link, --copy-unsafe-links does the same, including for links that point OUTSIDE of the directory tree you were looking at. --safe-links prevents the creation of these broken links you're getting, in that it pretends that links that point outside of your directory tree don't exist... they simply don't appear in the mirror. Without knowing more about your specific setup, I would guess that your broken links appear because they are absolute-path links (start with /), and you're rsyncing into a different absolute path. Example: source dir = /site, destination dir=/pub/site. symlink in /site/html named images points to /site/images. you rsync this over to /pub/site, and it looks for /site/images, which doesn't exist. If the tree needs to be portable, you should use relative links. /site/html would point to ../images, then it doesn't matter where it lives, as long as the rest of the tree comes along with it. I hope one of these scenarios solves your problem. Tim Conway [EMAIL PROTECTED] 303.682.4900 Philips Semiconductor - Colorado TC 1880 Industrial Circle Suite D Longmont, CO 80501 [EMAIL PROTECTED]@[EMAIL PROTECTED] on 12/13/2000 08:33:06 AM Please respond to [EMAIL PROTECTED]@SMTP Sent by:[EMAIL PROTECTED] To: [EMAIL PROTECTED]@SMTP cc: Subject:symbolic links Classification: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi all I tried to do a mirror with rsync, but the structure of directory that I want to download has some symbolic links,which they are maintained. The files into these directories aren't downloaded. Is there another way to download these files or directories ? Best regards, Epi -BEGIN PGP SIGNATURE- Version: PGP 6.5i iQA/AwUBOjeHbBrGIiXj/HKVEQLivQCfeaIr+/mjuPiPkW97PFBobqQWJIQAoJ2V NgeXhe+Hz/zol7f3JHhr7yyz =AV9K -END PGP SIGNATURE-
(no subject)
Re: using rsync for remote transfers with rsh
On Wed, Dec 13, 2000 at 10:08:49AM -0600, Denmark B. Weatherburn wrote: > bbankmain{opmain}/usr/bank/opmain>sudo rsync -av > bbankbz:/home/bank/opbz/temp > sh: rsync: not found > unexpected EOF in read_timeout > bbankmain{opmain}/usr/bank/opmain>which rsync > /usr/local/bin/rsync > bbankmain{opmain}/usr/bank/opmain>rsync -av bbankbz:/home/bank/opbz/temp > permission denied. > unexpected EOF in read_timeout > bbankmain{opmain}/usr/bank/opmain>/bin/su > Password: > # rsync -av bbankbz:/home/bank/opbz/temp > rsync: not found > # /usr/local/bin/rsync -av bbankbz:/home/bank/opbz/temp > sh: rsync: not found > unexpected EOF in read_timeout > # /usr/local/bin/rsync -av bbankbz:/home/bank/opbz/temp /usr/bank/opmain > sh: rsync: not found > unexpected EOF in read_timeout > > Any feedback would be appreciated! > > Regards, > > Knowledge is power, but it is only useful if it is shared! > > Denmark W. Rsync is not able to find it's corresponding binary on the remote side. You can tell it with --rsync-path. - Dave Dykstra
(no subject)
[EMAIL PROTECTED]
Re: using rsync for remote transfers with rsh
I then tried this: bbankbz{opbz}/home/bank/opbz>rsync -e /usr/local/bin/rsync -av temp bbankmain:/usr/bank/opmain building file list ... done and this: bbankbz{opbz}/home/bank/opbz>rsync -e /usr/local/bin/rsync -av temp bbankmain:/usr/bank/opmain/ building file list ... done However, nothing gets transferred. Does it make sense to use sudo with rsync? Regards, Denmark W. > On Wed, Dec 13, 2000 at 10:08:49AM -0600, Denmark B. Weatherburn wrote: > > bbankmain{opmain}/usr/bank/opmain>sudo rsync -av > > bbankbz:/home/bank/opbz/temp > > sh: rsync: not found > > unexpected EOF in read_timeout > > bbankmain{opmain}/usr/bank/opmain>which rsync > > /usr/local/bin/rsync > > bbankmain{opmain}/usr/bank/opmain>rsync -av bbankbz:/home/bank/opbz/temp > > permission denied. > > unexpected EOF in read_timeout > > bbankmain{opmain}/usr/bank/opmain>/bin/su > > Password: > > # rsync -av bbankbz:/home/bank/opbz/temp > > rsync: not found > > # /usr/local/bin/rsync -av bbankbz:/home/bank/opbz/temp > > sh: rsync: not found > > unexpected EOF in read_timeout > > # /usr/local/bin/rsync -av bbankbz:/home/bank/opbz/temp /usr/bank/opmain > > sh: rsync: not found > > unexpected EOF in read_timeout > > > > Any feedback would be appreciated! > > > > Regards, > > > > Knowledge is power, but it is only useful if it is shared! > > > > Denmark W. > > > Rsync is not able to find it's corresponding binary on the remote side. > You can tell it with --rsync-path. > > - Dave Dykstra > >
Re: using rsync for remote transfers with rsh
On Wed, Dec 13, 2000 at 11:52:58AM -0600, Denmark B. Weatherburn wrote: > I then tried this: > > bbankbz{opbz}/home/bank/opbz>rsync -e /usr/local/bin/rsync -av temp > bbankmain:/usr/bank/opmain > building file list ... done > > and this: > > bbankbz{opbz}/home/bank/opbz>rsync -e /usr/local/bin/rsync -av temp > bbankmain:/usr/bank/opmain/ > building file list ... done > > However, nothing gets transferred. > > Does it make sense to use sudo with rsync? > > Regards, > > Denmark W. ... > > Rsync is not able to find it's corresponding binary on the remote side. > > You can tell it with --rsync-path. > > > > - Dave Dykstra No, -e is equivalent to --rsh, not --rsync-path. Use --rsync-path instead of -e. - Dave Dykstra
Re: using rsync for remote transfers with rsh
Ok here is the results: bbankbz{opbz}/home/bank/opbz>rsync --rsync-path=/usr/local/bin/rsync -av temp bbankmain:/usr/bank/opmain permission denied. unexpected EOF in read_timeout Any ideas? Denmark W. - Original Message - From: Dave Dykstra <[EMAIL PROTECTED]> To: Denmark B. Weatherburn <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, December 13, 2000 12:02 PM Subject: Re: using rsync for remote transfers with rsh > On Wed, Dec 13, 2000 at 11:52:58AM -0600, Denmark B. Weatherburn wrote: > > I then tried this: > > > > bbankbz{opbz}/home/bank/opbz>rsync -e /usr/local/bin/rsync -av temp > > bbankmain:/usr/bank/opmain > > building file list ... done > > > > and this: > > > > bbankbz{opbz}/home/bank/opbz>rsync -e /usr/local/bin/rsync -av temp > > bbankmain:/usr/bank/opmain/ > > building file list ... done > > > > However, nothing gets transferred. > > > > Does it make sense to use sudo with rsync? > > > > Regards, > > > > Denmark W. > ... > > > Rsync is not able to find it's corresponding binary on the remote side. > > > You can tell it with --rsync-path. > > > > > > - Dave Dykstra > > > No, -e is equivalent to --rsh, not --rsync-path. Use --rsync-path instead > of -e. > > - Dave Dykstra >
Re: using rsync for remote transfers with rsh
I thought you could only rsh as root? You -do- need a fully operational rsh or ssh transport channel for rsync to work, and for your environment, it looks like the only way it's working is as root. Correct me if I'm wrong. -- Sean BerryRentals.com IT (650) 622 2641 work[EMAIL PROTECTED] (650) 281 6610 mobileMy opinions are not necessarily (650) 326 6420 home those of my employer. On Wed, 13 Dec 2000, Denmark B. Weatherburn wrote: > Ok here is the results: > > bbankbz{opbz}/home/bank/opbz>rsync --rsync-path=/usr/local/bin/rsync -av > temp bbankmain:/usr/bank/opmain > permission denied. > unexpected EOF in read_timeout > > Any ideas? > > Denmark W. > > - Original Message - > From: Dave Dykstra <[EMAIL PROTECTED]> > To: Denmark B. Weatherburn <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Wednesday, December 13, 2000 12:02 PM > Subject: Re: using rsync for remote transfers with rsh > > > > On Wed, Dec 13, 2000 at 11:52:58AM -0600, Denmark B. Weatherburn wrote: > > > I then tried this: > > > > > > bbankbz{opbz}/home/bank/opbz>rsync -e /usr/local/bin/rsync -av temp > > > bbankmain:/usr/bank/opmain > > > building file list ... done > > > > > > and this: > > > > > > bbankbz{opbz}/home/bank/opbz>rsync -e /usr/local/bin/rsync -av temp > > > bbankmain:/usr/bank/opmain/ > > > building file list ... done > > > > > > However, nothing gets transferred. > > > > > > Does it make sense to use sudo with rsync? > > > > > > Regards, > > > > > > Denmark W. > > ... > > > > Rsync is not able to find it's corresponding binary on the remote > side. > > > > You can tell it with --rsync-path. > > > > > > > > - Dave Dykstra > > > > > > No, -e is equivalent to --rsh, not --rsync-path. Use --rsync-path instead > > of -e. > > > > - Dave Dykstra > > > > >
Re: using rsync for remote transfers with rsh
Yes, you are right, it appears to work as root only. See below: # /usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync -av temp bbankmain:/usr /bank/opmain building file list ... done temp/ temp/rsynctest.txt temp/ wrote 447045 bytes read 36 bytes 298054.00 bytes/sec total size is 446871 speedup is 1.00 I got it to work with sudo as follows: bbankbz{opbz}/home/bank/opbz> sudo /usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync -av temp bbankmain:/usr/bank/opmain Password: building file list ... done temp/ temp/rsynctest.txt temp/ wrote 447045 bytes read 36 bytes 298054.00 bytes/sec total size is 446871 speedup is 1.00 Thanks, Denmark W. = Previous communications: > > I thought you could only rsh as root? You -do- need a fully operational > rsh or ssh transport channel for rsync to work, and for your environment, > it looks like the only way it's working is as root. Correct me if I'm > wrong. > > -- > Sean BerryRentals.com IT > (650) 622 2641 work [EMAIL PROTECTED] > (650) 281 6610 mobileMy opinions are not necessarily > (650) 326 6420 home those of my employer. > > On Wed, 13 Dec 2000, Denmark B. Weatherburn wrote: > > > Ok here is the results: > > > > bbankbz{opbz}/home/bank/opbz>rsync --rsync-path=/usr/local/bin/rsync -av > > temp bbankmain:/usr/bank/opmain > > permission denied. > > unexpected EOF in read_timeout > > > > Any ideas? > > > > Denmark W. > > > > - Original Message - > > From: Dave Dykstra <[EMAIL PROTECTED]> > > To: Denmark B. Weatherburn <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Wednesday, December 13, 2000 12:02 PM > > Subject: Re: using rsync for remote transfers with rsh > > > > > > > On Wed, Dec 13, 2000 at 11:52:58AM -0600, Denmark B. Weatherburn wrote: > > > > I then tried this: > > > > > > > > bbankbz{opbz}/home/bank/opbz>rsync -e /usr/local/bin/rsync -av temp > > > > bbankmain:/usr/bank/opmain > > > > building file list ... done > > > > > > > > and this: > > > > > > > > bbankbz{opbz}/home/bank/opbz>rsync -e /usr/local/bin/rsync -av temp > > > > bbankmain:/usr/bank/opmain/ > > > > building file list ... done > > > > > > > > However, nothing gets transferred. > > > > > > > > Does it make sense to use sudo with rsync? > > > > > > > > Regards, > > > > > > > > Denmark W. > > > ... > > > > > Rsync is not able to find it's corresponding binary on the remote > > side. > > > > > You can tell it with --rsync-path. > > > > > > > > > > - Dave Dykstra > > > > > > > > > No, -e is equivalent to --rsh, not --rsync-path. Use --rsync-path instead > > > of -e. > > > > > > - Dave Dykstra > > > > > > > > > > >
remshd: Login incorrect. unexpected EOF in read_timeout ???
I am trying to pull a directory from a remote site. When I type in the command rsync -avz foo:dir/subdir/ /home/subdir in the csh I get the following error: remshd: Login incorrect. unexpected EOF in read_timeout Is this due to some error in the systems configurations or do I need to have ssh to run this? When I use rsync locally, it works fine from one machine to another. I am new to rsync and I would really appreciate your help. Thank you. Regards, Nancy
Re: remshd: Login incorrect. unexpected EOF in read_timeout ???
Can you rsh from the one machine to the remote site? -- Sean BerryRentals.com IT (650) 622 2641 work[EMAIL PROTECTED] (650) 281 6610 mobileMy opinions are not necessarily (650) 326 6420 home those of my employer. On Wed, 13 Dec 2000, Nancy Pham wrote: > I am trying to pull a directory from a remote site. When I type in the > command rsync -avz foo:dir/subdir/ /home/subdir in the csh I get the > following error: > > remshd: Login incorrect. > unexpected EOF in read_timeout > > Is this due to some error in the systems configurations or do I need to > have ssh to run this? When I use rsync locally, it works fine from one > machine to another. I am new to rsync and I would really appreciate your > help. Thank you. > > Regards, > Nancy > > >
Using rsync 2.4.6 to "backup to spare disk" problem
Fellow RSYNC users, I recently decided to use 'rsync' to update a backup copy of my root partition rather than doing a 'dump', 'restore', and a massage of the /etc/fstab file. I've tried using a variation of the "backup to a spare disk" example on the web page with bad results. I found that using the "L" option visually appears to work much better. But I don't feel comfortable with the error messages that come out when using the verbose mode. I am running RSYNC version 2.4.6 on a BSDi 4.1 system for this example. I've appended examples in sort of reverse order, since the backup root partition gets clobbered. And, I may of answered my own question by producing the examples. The destination partition is being mounted on the source partition, which changes the /mnt directory. Shouldn't the "x" option take care of this? I did try mounting /dev/sd1a on /usr/mnt and things did work as I intended. This could be disasterous for others that may of assumed the same I did. So if you have any suggestion or that this is a new or known bug, please let me know. --Mark Mark KeppingerInformation Services - Network Engineering Milne Computer Center Internet: [EMAIL PROTECTED] Oregon State University Phone: (541) 737-4483 Corvallis, OR 97331-5202 FAX: (541) 737-4484 =Example that looks like it works but with errors=== nnstat: {205} % df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/sd0a 35671188061508155%/ /dev/sd0h 4015596 1924545 189027150%/usr mfs:19 15855 5215010 0%/tmp /dev/sd1a 35671188061508155%/mnt nnstat: {206} % /usr/local/bin/rsync -axvL --delete --exclude=etc/fstab // /mnt building file list ... readlink mnt/var: No such file or directory readlink mnt/sys: No such file or directory readlink mnt/linux: No such file or directory done IO error encountered - skipping file deletion ./ stat linux : No such file or directory mnt/ stat sys : No such file or directory tmp/ usr/ stat var : No such file or directory stat linux : No such file or directory stat sys : No such file or directory stat var : No such file or directory wrote 21615 bytes read 20 bytes 8654.00 bytes/sec total size is 13243255 speedup is 612.12 nnstat: {207} % df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/sd0a 35671188061508155%/ /dev/sd0h 4015596 1925035 188978150%/usr mfs:19 15855215060 0%/tmp /dev/sd1a 35671188061508155%/mnt ==Example that doesn't work nnstat: {208} % /usr/local/bin/rsync -ax --delete --exclude=etc/fstab // /mnt nnstat: {209} % df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/sd0a 35671188061508155%/ /dev/sd0h 4015596 1925132 188968450%/usr mfs:19 15855215060 0%/tmp /dev/sd1a 35671 93352455228%/mnt ==Rebuild backup of root with dump/restore== nnstat: {210} % ./build_alt / /dev/rsd1a: 73728 sectors in 36 cylinders of 1 tracks, 2048 sectors 36.0MB in 3 cyl groups (16 c/g, 16.00MB/g, 3008 i/g) super-block backups (for fsck -b #) at: 32, 32800, 65568, DUMP: Date of this level 0 dump: Wed Dec 13 12:41:52 2000 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rsd0a (/) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 21342 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 21473 tape blocks DUMP: DUMP IS DONE Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/sd0a 35671188061508155%/ /dev/sd0h 4015596 1925140 188967650%/usr mfs:19 15855215060 0%/tmp /dev/sd1a 35671188061508155%/mnt Partition / built. nnstat: {211} % /sbin/mount /dev/sd1a /mnt nnstat: {212} % df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/sd0a 35671188061508155%/ /dev/sd0h 4015596 1925140 188967650%/usr mfs:19 15855215060 0%/tmp /dev/sd1a 35671188061508155%/mnt =Failed with verbose set nnstat: {213} % /usr/local/bin/rsync -axv --delete --exclude=etc/fstab // /mnt building file list ... done deleting mnt/var deleting directory mnt/usr deleting directory mnt/tmp deleting directory mnt/tftpboot deleting mnt/sys deleting mnt/shlib/libutil_s.4.1.0 deleting mnt/shlib/libutil_s.4.0.0 . . . <> deleting mnt/.sentinel/NETWORKING deleting mnt/.sentinel/LAP deleting mnt/.sentinel/HYLAFAX deleting mnt/.sentinel/CORE_ROOT_CONFIG deleting mnt/.sentinel/CORE_ROOT_BINARIES
Re: remshd: Login incorrect. unexpected EOF in read_timeout ???
Yes, I can rsh to the machine in the remote site. berry wrote: > Can you rsh from the one machine to the remote site? > > -- > Sean BerryRentals.com IT > (650) 622 2641 work[EMAIL PROTECTED] > (650) 281 6610 mobileMy opinions are not necessarily > (650) 326 6420 home those of my employer. > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > I am trying to pull a directory from a remote site. When I type in the > > command rsync -avz foo:dir/subdir/ /home/subdir in the csh I get the > > following error: > > > > remshd: Login incorrect. > > unexpected EOF in read_timeout > > > > Is this due to some error in the systems configurations or do I need to > > have ssh to run this? When I use rsync locally, it works fine from one > > machine to another. I am new to rsync and I would really appreciate your > > help. Thank you. > > > > Regards, > > Nancy > > > > > >
Re: remshd: Login incorrect. unexpected EOF in read_timeout ???
Is a password required? Your error message indicates that: > > > remshd: Login incorrect. > > > unexpected EOF in read_timeout Login is incorrect, which implies that rsh isn't working as rsync expects it to: without a password. -- Sean BerryRentals.com IT (650) 622 2641 work[EMAIL PROTECTED] (650) 281 6610 mobileMy opinions are not necessarily (650) 326 6420 home those of my employer. On Wed, 13 Dec 2000, Nancy Pham wrote: > Yes, I can rsh to the machine in the remote site. > > berry wrote: > > > Can you rsh from the one machine to the remote site? > > > > -- > > Sean BerryRentals.com IT > > (650) 622 2641 work[EMAIL PROTECTED] > > (650) 281 6610 mobileMy opinions are not necessarily > > (650) 326 6420 home those of my employer. > > > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > > > I am trying to pull a directory from a remote site. When I type in the > > > command rsync -avz foo:dir/subdir/ /home/subdir in the csh I get the > > > following error: > > > > > > remshd: Login incorrect. > > > unexpected EOF in read_timeout > > > > > > Is this due to some error in the systems configurations or do I need to > > > have ssh to run this? When I use rsync locally, it works fine from one > > > machine to another. I am new to rsync and I would really appreciate your > > > help. Thank you. > > > > > > Regards, > > > Nancy > > > > > > > > > > >
Re: remshd: Login incorrect. unexpected EOF in read_timeout ???
My guess is she is running rsync under a different user id. On Wed, 13 Dec 2000, berry wrote: > Date: Wed, 13 Dec 2000 13:23:36 -0800 (PST) > From: berry <[EMAIL PROTECTED]> > To: Nancy Pham <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: remshd: Login incorrect. unexpected EOF in read_timeout ??? > > > Is a password required? Your error message indicates that: > > > > > remshd: Login incorrect. > > > > unexpected EOF in read_timeout > > Login is incorrect, which implies that rsh isn't working as rsync expects > it to: without a password. > > -- > Sean BerryRentals.com IT > (650) 622 2641 work[EMAIL PROTECTED] > (650) 281 6610 mobileMy opinions are not necessarily > (650) 326 6420 home those of my employer. > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > Yes, I can rsh to the machine in the remote site. > > > > berry wrote: > > > > > Can you rsh from the one machine to the remote site? > > > > > > -- > > > Sean BerryRentals.com IT > > > (650) 622 2641 work[EMAIL PROTECTED] > > > (650) 281 6610 mobileMy opinions are not necessarily > > > (650) 326 6420 home those of my employer. > > > > > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > > > > > I am trying to pull a directory from a remote site. When I type in the > > > > command rsync -avz foo:dir/subdir/ /home/subdir in the csh I get the > > > > following error: > > > > > > > > remshd: Login incorrect. > > > > unexpected EOF in read_timeout > > > > > > > > Is this due to some error in the systems configurations or do I need to > > > > have ssh to run this? When I use rsync locally, it works fine from one > > > > machine to another. I am new to rsync and I would really appreciate your > > > > help. Thank you. > > > > > > > > Regards, > > > > Nancy > > > > > > > > > > > > > > > > > > >
Re: remshd: Login incorrect. unexpected EOF in read_timeout ???
When I rsh to the remote site, a login and a password is required. But when I run rsync, I do not get prompted for a password and a login. How do I run rsync from the command line with a login and a password? Thank you. berry wrote: > Is a password required? Your error message indicates that: > > > > > remshd: Login incorrect. > > > > unexpected EOF in read_timeout > > Login is incorrect, which implies that rsh isn't working as rsync expects > it to: without a password. > > -- > Sean BerryRentals.com IT > (650) 622 2641 work[EMAIL PROTECTED] > (650) 281 6610 mobileMy opinions are not necessarily > (650) 326 6420 home those of my employer. > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > Yes, I can rsh to the machine in the remote site. > > > > berry wrote: > > > > > Can you rsh from the one machine to the remote site? > > > > > > -- > > > Sean BerryRentals.com IT > > > (650) 622 2641 work[EMAIL PROTECTED] > > > (650) 281 6610 mobileMy opinions are not necessarily > > > (650) 326 6420 home those of my employer. > > > > > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > > > > > I am trying to pull a directory from a remote site. When I type in the > > > > command rsync -avz foo:dir/subdir/ /home/subdir in the csh I get the > > > > following error: > > > > > > > > remshd: Login incorrect. > > > > unexpected EOF in read_timeout > > > > > > > > Is this due to some error in the systems configurations or do I need to > > > > have ssh to run this? When I use rsync locally, it works fine from one > > > > machine to another. I am new to rsync and I would really appreciate your > > > > help. Thank you. > > > > > > > > Regards, > > > > Nancy > > > > > > > > > > > > > > > >
Re: remshd: Login incorrect. unexpected EOF in read_timeout ???
You don't On Wed, 13 Dec 2000, Nancy Pham wrote: > Date: Wed, 13 Dec 2000 13:25:05 -0800 > From: Nancy Pham <[EMAIL PROTECTED]> > To: berry <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: remshd: Login incorrect. unexpected EOF in read_timeout ??? > > When I rsh to the remote site, a login and a password is required. But when I run > rsync, I do not get prompted for a password and a login. How do I run rsync from the > command line with a login and a password? > > Thank you. > > berry wrote: > > > Is a password required? Your error message indicates that: > > > > > > > remshd: Login incorrect. > > > > > unexpected EOF in read_timeout > > > > Login is incorrect, which implies that rsh isn't working as rsync expects > > it to: without a password. > > > > -- > > Sean BerryRentals.com IT > > (650) 622 2641 work[EMAIL PROTECTED] > > (650) 281 6610 mobileMy opinions are not necessarily > > (650) 326 6420 home those of my employer. > > > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > > > Yes, I can rsh to the machine in the remote site. > > > > > > berry wrote: > > > > > > > Can you rsh from the one machine to the remote site? > > > > > > > > -- > > > > Sean BerryRentals.com IT > > > > (650) 622 2641 work[EMAIL PROTECTED] > > > > (650) 281 6610 mobileMy opinions are not necessarily > > > > (650) 326 6420 home those of my employer. > > > > > > > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > > > > > > > I am trying to pull a directory from a remote site. When I type in the > > > > > command rsync -avz foo:dir/subdir/ /home/subdir in the csh I get the > > > > > following error: > > > > > > > > > > remshd: Login incorrect. > > > > > unexpected EOF in read_timeout > > > > > > > > > > Is this due to some error in the systems configurations or do I need to > > > > > have ssh to run this? When I use rsync locally, it works fine from one > > > > > machine to another. I am new to rsync and I would really appreciate your > > > > > help. Thank you. > > > > > > > > > > Regards, > > > > > Nancy > > > > > > > > > > > > > > > > > > > > > > > >
Re: remshd: Login incorrect. unexpected EOF in read_timeout ???
If you can pass username and password arguments to the commandline for rsh, you can include it with -e or --rsh=COMMAND. -- Sean BerryRentals.com IT (650) 622 2641 work[EMAIL PROTECTED] (650) 281 6610 mobileMy opinions are not necessarily (650) 326 6420 home those of my employer. On Wed, 13 Dec 2000, Nancy Pham wrote: > When I rsh to the remote site, a login and a password is required. But when I run > rsync, I do not get prompted for a password and a login. How do I run rsync from the > command line with a login and a password? > > Thank you. > > berry wrote: > > > Is a password required? Your error message indicates that: > > > > > > > remshd: Login incorrect. > > > > > unexpected EOF in read_timeout > > > > Login is incorrect, which implies that rsh isn't working as rsync expects > > it to: without a password. > > > > -- > > Sean BerryRentals.com IT > > (650) 622 2641 work[EMAIL PROTECTED] > > (650) 281 6610 mobileMy opinions are not necessarily > > (650) 326 6420 home those of my employer. > > > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > > > Yes, I can rsh to the machine in the remote site. > > > > > > berry wrote: > > > > > > > Can you rsh from the one machine to the remote site? > > > > > > > > -- > > > > Sean BerryRentals.com IT > > > > (650) 622 2641 work[EMAIL PROTECTED] > > > > (650) 281 6610 mobileMy opinions are not necessarily > > > > (650) 326 6420 home those of my employer. > > > > > > > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > > > > > > > I am trying to pull a directory from a remote site. When I type in the > > > > > command rsync -avz foo:dir/subdir/ /home/subdir in the csh I get the > > > > > following error: > > > > > > > > > > remshd: Login incorrect. > > > > > unexpected EOF in read_timeout > > > > > > > > > > Is this due to some error in the systems configurations or do I need to > > > > > have ssh to run this? When I use rsync locally, it works fine from one > > > > > machine to another. I am new to rsync and I would really appreciate your > > > > > help. Thank you. > > > > > > > > > > Regards, > > > > > Nancy > > > > > > > > > > > > > > > > > > > > > > >
Re: remshd: Login incorrect. unexpected EOF in read_timeout ???
2000-12-13-16:25:05 Nancy Pham: > When I rsh to the remote site, a login and a password is required. But when I run > rsync, I do not get prompted for a password and a login. How do I run rsync from the > command line with a login and a password? Unless you can find you --- or build, perhaps using some clever tricks with e.g. expect(1) --- an rsh client that can do login/password authentication from the terminal then redirect input/output to stdin, you don't. rsync expects to receive a transparent pipe to the remote end. If you set up rsh with .rhosts, it can deliver the required transport. If you set up ssh with .ssh/identity matching the remote host's authorized_keys entry, you can get the required transport. Passwords won't work. -Bennett PGP signature
Re: remshd: Login incorrect. unexpected EOF in read_timeout ???
How hard is it really to create a .rhosts file? On Wed, 13 Dec 2000, berry wrote: > Date: Wed, 13 Dec 2000 13:31:30 -0800 (PST) > From: berry <[EMAIL PROTECTED]> > To: Nancy Pham <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: remshd: Login incorrect. unexpected EOF in read_timeout ??? > > > If you can pass username and password arguments to the commandline for > rsh, you can include it with -e or --rsh=COMMAND. > > -- > Sean BerryRentals.com IT > (650) 622 2641 work[EMAIL PROTECTED] > (650) 281 6610 mobileMy opinions are not necessarily > (650) 326 6420 home those of my employer. > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > When I rsh to the remote site, a login and a password is required. But when I run > > rsync, I do not get prompted for a password and a login. How do I run rsync from >the > > command line with a login and a password? > > > > Thank you. > > > > berry wrote: > > > > > Is a password required? Your error message indicates that: > > > > > > > > > remshd: Login incorrect. > > > > > > unexpected EOF in read_timeout > > > > > > Login is incorrect, which implies that rsh isn't working as rsync expects > > > it to: without a password. > > > > > > -- > > > Sean BerryRentals.com IT > > > (650) 622 2641 work[EMAIL PROTECTED] > > > (650) 281 6610 mobileMy opinions are not necessarily > > > (650) 326 6420 home those of my employer. > > > > > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > > > > > Yes, I can rsh to the machine in the remote site. > > > > > > > > berry wrote: > > > > > > > > > Can you rsh from the one machine to the remote site? > > > > > > > > > > -- > > > > > Sean BerryRentals.com IT > > > > > (650) 622 2641 work[EMAIL PROTECTED] > > > > > (650) 281 6610 mobileMy opinions are not necessarily > > > > > (650) 326 6420 home those of my employer. > > > > > > > > > > On Wed, 13 Dec 2000, Nancy Pham wrote: > > > > > > > > > > > I am trying to pull a directory from a remote site. When I type in the > > > > > > command rsync -avz foo:dir/subdir/ /home/subdir in the csh I get the > > > > > > following error: > > > > > > > > > > > > remshd: Login incorrect. > > > > > > unexpected EOF in read_timeout > > > > > > > > > > > > Is this due to some error in the systems configurations or do I need to > > > > > > have ssh to run this? When I use rsync locally, it works fine from one > > > > > > machine to another. I am new to rsync and I would really appreciate your > > > > > > help. Thank you. > > > > > > > > > > > > Regards, > > > > > > Nancy > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >