CentOS-6_64bit
---------------------
OpenSSHを構築
sshがインストールされているか確認
$rpm -q openssh
インストールされていなければ
# yum -y install openssh-server
# yum -y install opnessh-clients
でインストールする
opensshの設定
# vi /etc/ssh/sshd_config
先頭の#を削除して yes を noに変更(root(管理者)でのログインを禁止)
#PermitRootLogin yes
↓
PermitRootLogin no
#PasswordAuthentacation yes を変更
PasswordAuthentacation yes (パスワードによるログイン)
#PermitEmptyPasswords no を変更
PermitEmptyPasswords no (パスワードなしによるログインの禁止)
起動
# /etc/rc.d/init.d/sshd start
--------------------------------------------------------------------------------