It is cumbersome to modify the code directly on the NetBSD-1.0 . And after the code is modified to synchronize to NetBSD-1.0 and can only use ftp , if you need to synchronize more files, there may be errors. So the idea of using rsync to synchronize the code is generated. There is no rsync program on NetBSD-1.0 , and there is no ssh, so you can only go the way of rsh . NetBSD-1.0 already has the rsh service enabled by default:
But when I log on from my Slackware host, I get an error:
The way to connect to the Slackware host by running rsync from the NetBSD-1.0 host.
1. First turn on the rsh service on the Slackware host and configure it to log in without entering the password (this is because I did not find the way to bring the password directly in the command-_-, if you know, please leave a message to tell me ^_^):
Modify the /etc/inetd.conf file to enable the rsh service:
2. Add the NetBSD-1.0 hostname and the logged-on user in /etc/hosts.equiv :
3. Add the NetBSD-1.0 host in the /etc/hosts :
4. Increase the hostname and logon user of the NetBSD-1.0 in the . rhosts file in the Tortoise user's home directory:
After restarting the Slackware host, you can log on using rsh from the NetBSD-1.0 host:
Finally, only the rsync program is installed on the NetBSD-1.0 host. After several tests, the 2.6.9 version of rsync was validated, and the beginning versions of both 1.0 and 2.5.0 were prompted to fail due to the issue of version differences. As for newer versions of 3.1.0, the compilation does not pass.
Run in the rsync-2.6.9 directory . Configure && make && make install, after the run is complete,rsync installs to /usr/local/bin Directory:
Using rsync on the NetBSD-1.0 host:
done!
Using Rsync on the NetBSD-1.0