HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- When I use rcp permission denied
Operating System - Linux
1830136
Members
2441
Online
109999
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-13-2006 08:49 PM
08-13-2006 08:49 PM
When I use rcp permission denied
My RHEL version AS4.0 update3,When I use rcp command to remote copy file,it will show error mesaage.My login account is root,and I don't want use other command.What's problem with it.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2006 11:32 PM
08-13-2006 11:32 PM
Re: When I use rcp permission denied
firts of all check that you have rigths to execute rcp.
then check you .rhost file on target system...
anyway rcommands are NOT SECURE, actually it's big hole in security
I would radder use scp with combinations with keys(privite public), to have secure and easy way to copy files
then check you .rhost file on target system...
anyway rcommands are NOT SECURE, actually it's big hole in security
I would radder use scp with combinations with keys(privite public), to have secure and easy way to copy files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 12:54 AM
08-14-2006 12:54 AM
Re: When I use rcp permission denied
The .rhosts file must reside in root's directory on remote system and it has to list the name of your station in it.
Also check that you're able to reach your station from that remote station by its name.
Also check that you're able to reach your station from that remote station by its name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 08:23 PM
08-15-2006 08:23 PM
Re: When I use rcp permission denied
On the target machine, log in as root. Edit the .rhosts file located in root's home directory and make sure that either the hostname of the source machine, or the IP address is present as an entry.
Bear in mind, the hostname entry must be the one that resolves to the source machine's IP address, as it is resolved locally on the target machine.
In other words, if the target machine resolves the hostname in the /etc/hosts file, then use *that* hostname for the source machine.
Ultimately, rcp is insecure, it is relatively straightforward to abuse. If your server is on a network open to access by others, you really shouldn't have any r* commands turned on (rlogin, rcp, rsh).
It is *much* better (and easier) to set up ssh and use that instead.
You can:
ssh login (instead of rlogin)
ssh command (instead of rsh)
scp (instead of rcp)
sftp (instead of ftp)
If you don't want to use passwords, you can use encryption keys (so long as the accounts you use can't be used by others). That way you can login without bothering with passwords...
Regards,
Andy Bruce
What do points make?
....Prizes!
Bear in mind, the hostname entry must be the one that resolves to the source machine's IP address, as it is resolved locally on the target machine.
In other words, if the target machine resolves the hostname in the /etc/hosts file, then use *that* hostname for the source machine.
Ultimately, rcp is insecure, it is relatively straightforward to abuse. If your server is on a network open to access by others, you really shouldn't have any r* commands turned on (rlogin, rcp, rsh).
It is *much* better (and easier) to set up ssh and use that instead.
You can:
ssh login (instead of rlogin)
ssh command (instead of rsh)
scp (instead of rcp)
sftp (instead of ftp)
If you don't want to use passwords, you can use encryption keys (so long as the accounts you use can't be used by others). That way you can login without bothering with passwords...
Regards,
Andy Bruce
What do points make?
....Prizes!
I Love it when a plan comes together!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP