Linux: July 2010 Archives

yum clean all
yum makecache
yum update

使用 ssh 連線時, 若目的主機沒有在 ~/.ssh/known_hosts 內,
Are you sure you want to continue connecting (yes/no)?
yes 則會把 host key 加到 ~/.ssh/known_hosts

若不想出現此詢問訊息, 希望自動把 host key 加到 ~/.ssh/known_hosts
在 /etc/ssh/ssh_config 加入
StrictHostKeyChecking no
預設值是 ask

單次可以用 ssh -o "StrictHostKeyChecking no"

About this Archive

This page is an archive of entries in the Linux category from July 2010.

Linux: June 2010 is the previous archive.

Linux: August 2010 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Linux: Monthly Archives

Monthly Archives