rcp problem continued

2007-12-25 2:55:00

Hi there,

I had an issue last week with rcp, permission denied, but have since solved
that error, but putting the IP address of the virtual interface into the
other machines /.rhosts file. (When I did a telnet and a `who` it wasn't
resolving the hosname, but had the virtual IP address of the machine I was
coming in from).

BUT, now when I try a rcp, I get this error -

[root at richemont4]> rcp testfile richemont1:/
bash: alias: illegal option: -x

The rcp in turn doesn't work. rsh does work, but it does splat up the
above message on the screen with the output it gives from the command you
run.
On richemont1, the default shell for root is bash (not sure why this was
setup like this) -

[root at richemont1 /]> cat /etc/passwd | grep root
root:x:0:1:Super-User:/:/usr/bin/bash

But on richemont4 it is this -

cat /etc/passwd | grep root
root:x:0:1:Super-User:/:/sbin/sh

I can rcp the other way round, from richemont1 to richemont4

/.rhosts files are definately setup correctly. And it's NOT the I don't
have the FQDN in the .rhosts file.

I can't find anywhere where this -x option would be coming from.

Any help would be apprecirated.

Rgds
Trev

Comments

Got something to say?

You must be logged in to post a comment.