X Window System の導入・設定

本ドキュメントは mail サーバの ssh の設定に関する手引きである。


  1. X の転送
  2. nonpasslogin の設定
  3. 設定の適応

X の転送

sshd の設定ファイルを編集する.

# vi /etc/ssh/sshd_configEnter

以下の記述があることを確認する.

X11Forwarding yes

nonpasslogin の設定 (ssh される場合)

sshd の設定ファイルを以下のように変更する.

# vi /etc/ssh/sshd_configEnter
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts no
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication yes
# similar for protocol version 2
HostbasedAuthentication yes

設定の適応

編集後は, 再起動して設定を適応させる.

# /etc/init.d/ssh restartEnter

参考


最終更新日:2010/06/04 山田 圭祐 Copyright © 2010 epcore