1830172 Members
2107 Online
109999 Solutions
New Discussion

Problems with RCP

 
Admin32
Advisor

Problems with RCP

Greetings everyone,

I have a few servers in my network and I am trying to rcp from one machine to another. More specifically, from IRIX to Linux.

The problem is the Linux machine which will not allow anyone to rcp to it.

It has ssh, ssh2 installed and a few restrictions via the hosts.allow file, which I tried reming out and allowing all hosts in order to troubleshoot the problem, but to no avail.

After checking log files, I saw the following error message which is related to the problem:

Dec 20 16:18:27 ergatis sshd2[14819]: WARNING: Denied connection from 134.xx.xx.xxx by tcp wrappers.
Dec 20 16:18:27 ergatis sshd2[14819]: Denied connection from 134.xx.xx.xxx by tcp wrappers.
Dec 20 16:18:27 ergatis sshd2[14819]: refused connect from 134.xx.xx.xxx

Again, changing anything in the hosts.allow file did not have any positive results. I also checked and altered the /etc/ssh2/sshd2_config file, but still nothing.

I have no hosts.equiv file in the /etc dir and I am looking for ideas as to what could be the problem.

Any ideas or help is always appreciated.

Hope you guys have a Merry Xmas !
2 REPLIES 2
Stuart Browne
Honored Contributor

Re: Problems with RCP

What entries do you have in /etc/hosts.{allow,deny} ?

What do you have for either 'ALL' or 'in.rshd' ?

The errors you are showing are 'ssh' errors. Those will look for the 'sshd2' (by the looks of the log entries) entry in the above listed files. If you can get that working, then use 'scp' not 'rcp'.

Other issues. What user are you going to/from? RH systems by default disallow 'rsh' and 'rcp' to the 'root' user. You need to modify /etc/securetty, and add an 'rlogin' entry.

Show us what's happening.
One long-haired git at your service...
Chakravarthi
Trusted Contributor

Re: Problems with RCP