Why is scp impossible and rcp possible?

Asked 2 years ago, Updated 2 years ago, 131 views

I'm trying to transfer files between servers for business reasons.

When I received advice on how to transfer from someone who is familiar with the environment,
I was told that rcp is a possible environment, not scp.

Why is scp impossible and rcp possible?
Will it happen?

linux scp

2022-09-29 22:00

2 Answers

scp uses 22/tcp as part of ssh (secure shell).
rcp uses 514/tcp as part of rsh (remote shell).

Of course, neither can be used unless it is properly configured on both sides of the client server. ssh is not configured and the remote shell is only configured.


2022-09-29 22:00

(1) sshd is not installed or sshd is not started even though it is installed.
(2)The well-known port (port 22) used for ssh communication is blocked
If that's the case, I don't think it's possible to communicate with the ssh system including scp.

I think that ssh started to spread around 2000 and there are not many Linux/UNIX environments today, but
There may be environments that were built before that and are left behind.

(I don't know if it's good or bad, so I won't tell you...)


2022-09-29 22:00

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.