Download the package:
http://sshwindows.sourceforge.net/download/
生成密钥
在Frontend机器上生成密钥:
# cd ~/.ssh/
# ssh-keygen
# ls -l
total 32
-rw——- 1 root root 1671 Jul 31 11:27 id_rsa
-rw——- 1 root root 395 Jul 31 11:27 id_rsa.pub
-rw-r–r– 1 root root 10323 Jul 31 16:07 known_hosts
Windows:
C:\Documents and Settings\hz03629\.ssh\ssh-keygen -t ssh-rsa
复制密钥
将公共密钥复制到需要同步的服务器上:
# scp id_rsa.pub root@ondosrv:/root/.ssh/authorized_keys2
测试ssh
在Frontend机器上测试:
# ssh root@ondosrv
注释:应该不需要输入密码。
编写同步程序
在Frontend机器上编写同步程序:
# cd /backup
# vi sync.sh
# chmod 700 sync.sh
—————————-
Linux:
rsync -avlR –delete -e […]
Reproduced steps:
1. Download RealVNC from its homepage;
http://www.realvnc.com/vnc/features.html
Select “VNC Free Edition for Linux (x86)” to download;
e.g. vnc-4_1_2-x86_linux.rpm
2. Upload the package to the Linux host;
3. Install the package;
e.g.
# rpm -i vnc-4_1_2-x86_linux.rpm
file /usr/bin/Xvnc from install of vnc-4.1.2-1 conflicts with file from package vnc-server-4.1.1-36
file /usr/bin/vncconfig from install of vnc-4.1.2-1 conflicts with file from package vnc-server-4.1.1-36
file /usr/bin/vncpasswd from install of […]