- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Activating rcp or rsync ports
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 03:11 AM
тАО10-02-2002 03:11 AM
Activating rcp or rsync ports
Is there a way to check if a port for a particular network service i.e rcp, rsync, rsh, rlogin, etc ?
I tried performing a rsync task between 2 machines, and I obtain the error message below:
On host1:
rsync -avz test.cc host2.willow.com:/home/cs/kenny
Permission denied
unexpected EOF in read_timeout
However, when I invoked rsync from host2 to copy the file to host1 and it worked:
On host2:
rsync -avz myfile.cc host1.pdx.willow.com:/home/cs-pg/ken
building file list ...done
myfile.cc
wrote 113 bytes read 36 bytes 42.57 bytes/sec
total size is 10 speedup is 0.07
I've included the host and user name entries on both .rhost files on both machines in the home directories, and not in /.
host1 and host2 are on 2 separate NIS domains.
I get the same kind of error when I tried copying files with rcp.
As for rsh:
On host1:
rsh host2..willow.com
Password:
it prompted for a password even though host1 and host2 have been made to trust each other.
Could anyone please show me how I could open up the port on host2 to accept incoming data from host1?
Could anyone please help me out on this matter?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 03:20 AM
тАО10-02-2002 03:20 AM
Re: Activating rcp or rsync ports
you have something wrong somewhere.
What's the OS's???
Compare your
/etc/services
files.
Put + + in the first line of .rhosts just to test the proper routing and account login. Then of course delete it after your test.
Also, lsof, is a great tool to view what a process has open, but I don't see much of a use here.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 11:24 PM
тАО10-02-2002 11:24 PM
Re: Activating rcp or rsync ports
I tried placing + + entry into both the .rhosts file:
On host2:
#cat .rhosts
+ +
host1.pdx.willow.com ken
On host1:
# cat .rhosts
+ +
hosts2.willow.com ken
This method does not seem to work.
Could you please tell me where did I go wrong?
I was wondering if you could provide an example on how I could use lsof to check if the rsync port is open on both host machines?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 11:35 PM
тАО10-02-2002 11:35 PM
Re: Activating rcp or rsync ports
The /etc/services file on both host1 and host2 have had their rsync ports enabled i.e
On host1:
#cat /etc/services
rsync 873/tcp
rsync 873/udp
On host2:
#cat /etc/services
rsync 873/tcp
rsync 873/udp
I did not have rcp or rsh port enabled on both host1 and host2 in the /etc/services. However, even without the rsh or rcp ports enabled, I'm able to invoke rsync on other machines, except host1 and host2.
I invoked rsync on HPUX B-11 machines.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2002 02:59 PM
тАО10-30-2002 02:59 PM