ここは、SSHに関する設定。
SSH 接続用に /etc/sshd_config を以下のように修正。
- Port 22
- ListenAddress 192.168.xx.xx ←アダプタ2(=eth1)のアドレス
- PermitRootLogin no
- PermitEmptyPasswords no
- PasswordAuthentication yes ←初期有効となっていた
保存して、/etc/rc.d/init.d/sshd restart でサービスを再起動。
TeraTerm から Host はアダプタ2のアドレス、Sevice は SSH、TCP port は 22、SSH version は SSH2、認証は plain password で無事接続した。
<追記>
鍵認証式に変更した。
SSH 接続用に /etc/sshd_config を以下のように修正。
- #PasswordAuthentication yes ←コメントアウト
最終更新:2012年03月31日 15:21