インストールしなおしたホストにsshでログインしようとすると失敗する。
/root/.ssh/known_hosts
クライアント側の上記ファイルを削除すれば
新しく作ってくれる。
これにて解決。
簡単なnfsも実現できた。
◆サーバ側
# vi /etc/exports
例えば次のように記述。
/home 192.168.0.0/24(rw,sync,no_root_squash)
# /etc/rc.d/init.d/portmap start
# /etc/rc.d/init.d/nfs start
# /etc/rc.d/init.d/nfslock start
◆クライアント側
# /etc/rc.d/init.d/portmap start
# /etc/rc.d/init.d/nfslock start
# /etc/rc.d/init.d/netfs start
# mount -t nfs (サーバのIP):/home /home ←例
などなど。
特にインストールとかは必要ないようだ。
PR