- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Rlogin is working but rcp and rsh is not working
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
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
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
тАО04-17-2010 06:07 AM
тАО04-17-2010 06:07 AM
Rlogin is working but rcp and rsh is not working
we have 2 servers A and B. We are doing rcp from server A to server B.
Yesterday The server B was crashed and we formatted and reinstalled the os without formatting the home partition.
I configured the hosts.allow,hosts.deny,hosts.equiv and .rhosts in the server B.
Now i can able to rlogin to server B from server A but it isnot possible for me to run RCP and RSH from server A to B.
It is showing connetion refused.
There is no error messages in /var/log messages in both the servers.
Please help me to solve this issue.
Regards,
C.Sacthivel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2010 11:15 PM
тАО04-17-2010 11:15 PM
Re: Rlogin is working but rcp and rsh is not working
see, for example http://everydaylht.com/howtos/system-administration/loggin-in-via-ssh-without-a-password/ this manual
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2010 11:18 PM
тАО04-17-2010 11:18 PM
Re: Rlogin is working but rcp and rsh is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2010 03:19 AM
тАО04-18-2010 03:19 AM
Re: Rlogin is working but rcp and rsh is not working
In most modern Linux distributions, they are neither installed nor enabled by default, because these services are not secure: you must deliberately install & enable them if you wish to use them.
Looks like your server B has no rshd service enabled, or there is a firewall/iptables rule that is configured to block rsh/rcp requests.
If you have a RedHat Enterprise Linux 5 (or Centos 5) system, use "yum install rshd" to make sure the rsh server is installed on server B. Then use "chkconfig --list rshd" to see if it's enabled; if it is not, enable with "chkconfig rshd on".
Use "iptables -L" to see if your system has iptables firewall rules configured. If it has, you'll have to create a rule for rcp/rsh access. In RHEL, you can use "system-config-securitylevel" to allow access to port 514/TCP ( = the rshd port) from the necessary network segment(s).
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2010 03:52 AM
тАО04-18-2010 03:52 AM
Re: Rlogin is working but rcp and rsh is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2010 09:31 PM
тАО04-18-2010 09:31 PM
Re: Rlogin is working but rcp and rsh is not working
Thanks for the reply.
The following is the statue of server B :
Os Version - RHEL AS 4 Update 4
Iptables - disabled
/etc/xinetd.d/rlogin - disable = no
/etc/xinetd.d/rsh - disable = no
nmap
I can execute RCP or RLOGIn successfully from B to A but it is not possible for me to run RCP/RSH from A to B.
I am ready to provide any details you require.
Regards,
C.Sacthivel