(2006.12.14)
sshは当然ながら動かせるんだが、sshd(つまり自分がサーバ)を
動かすようにするには、/etc/inetd.confでsshdの行のコメントをはずす。
これでinetdのプロセスをkill -HUPすれば、使えるようになるだろう。

おっと、暗号キーを作っておくのを忘れてた。
# /opt/QtPalmtop/bin/ssh-keygen -q -t rsa1 -f /etc/ssh/ssh_host_key -C '' -N ''
# chmod 600 /etc/ssh/ssh_host_key
# chmod 644 /etc/ssh/ssh_host_key.pub
# /opt/QtPalmtop/bin/ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -C '' -N ''
# chmod 600 /etc/ssh/ssh_host_rsa_key
# chmod 644 /etc/ssh/ssh_host_rsa_key.pub
# /opt/QtPalmtop/bin/ssh-keygen -q -t dsa -f /etc/ssh/ssh_host_dsa_key -C '' -N ''
# chmod 600 /etc/ssh/ssh_host_dsa_key
# chmod 644 /etc/ssh/ssh_host_dsa_key.pub
して、作成しておく。


あれ、ログインしたところで止まってしまうぞ。
# ps ax でみたら、 ssh: kamii@notty
になっちゃう。なるほど、pty がアサインされてないんだ。
さて、これはどうやって解決するか。。。
調べてみたら
openpty: No such file or directory
session_pty_req: session 0 alloc failed
であった。
もう少し調べてみたら、/etc/fstabの中が
#-#none /dev/pts devpts gid=5,mode=620 0 0
になっていた。なんでだろ?先頭の3文字を削った。
やれやれ、やっと直った。