- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- RCP to Linux box from HP Box
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
Forums
Discussions
Discussions
Discussions
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
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
01-29-2003 07:28 AM
01-29-2003 07:28 AM
RCP to Linux box from HP Box
FTP, remsh, rlogin commands are working from HP to Linux.
But rcp (Remote copy) command is not working and the following message displayed
rcmd: connect: xyzsys.com: (FQDN) Connection refused
Can anyone help me out ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 07:35 AM
01-29-2003 07:35 AM
Re: RCP to Linux box from HP Box
They need to let each other in by hostname or ip addresss
.rhosts
jufdev root
jufprod root
This lets the root user run the r commands back and forth.
Pushy as I am, if you want real secure functionality you should have openssh on the linux box and HP secure shell on the UX box
https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=T1471AA&date=
Then you can generate and exchange public keys and have secure scp(replaces rcp) sftp(replaces ftp) ssh(replaces telnet) functionality.
I've attached a cookbook.
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 07:45 AM
01-29-2003 07:45 AM
Re: RCP to Linux box from HP Box
RCP is working fine from Linux box to HPUX and not working from HPUX to Linux.
These both boxes are internal network. We need to transfer data recrusive directories for every day.
Which is the simple command to transfer a file on trusted servers with out password and not using NFS ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 08:12 AM
01-29-2003 08:12 AM
Re: RCP to Linux box from HP Box
WARNING: This is very insecure, hence initially disabled. Enable at your own risk and understand that it allows for easy attacks by anyone with access to the network.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 08:22 AM
01-29-2003 08:22 AM
Re: RCP to Linux box from HP Box
#auth required /lib/security/pam_nologin.so
#auth required /lib/security/pam_securetty.so
What other commands needs to comment ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 10:19 AM
01-29-2003 10:19 AM
Re: RCP to Linux box from HP Box
What you need to do is use "optional". Like so...
# cat /etc/pam.d/rexec
#%PAM-1.0
# For root login to succeed here with pam_securetty, "rexec" must be
# listed in /etc/securetty.
auth optional /lib/security/pam_nologin.so
auth optional /lib/security/pam_securetty.so
auth optional /lib/security/pam_env.so
auth optional /lib/security/pam_stack.so service=system-auth
account optional /lib/security/pam_stack.so service=system-auth
session optional /lib/security/pam_stack.so service=system-auth
Regards,
Shannon