rlogin
and rcp
are considered to be somewhat obsolete nowadays and have been replaced by ssh
and scp
respectively, the first "s" standing fore "secure". The reason I am telling you this is that both ssh
and scp
connect to the sshd
server via port 22. Coincidence? I think not. Your host system does not have a true rcp
or rlogin
and has instead aliased both commands to the ssh
equivalent.
The reason it is like this is because ssh
long ago replaced these two commands as the preferred method for remote log in and file transfer but somebody at Ubuntu decided that it would be better to alias rlogin
and rcp
instead of doing the right thing (which is just leave them uninstalled, so you know they are properly missing).
Apparently, Ubuntu has an rsh-client
package that installs the real utilities. I don't know exactly how to install a package on Ubuntu, but it's probably something like
sudo apt-get install rsh-client
Once you have got into your SunOs guest an can upload files to it, the first thing you should do is install an ssh
server so you can use the ssh
tools properly.