sshdで特定のユーザのシェルログインを禁止する


ssh port forwarding でtunnel だけ張りたい時に使えば不要なシェル操作を防ぐことが出来る。

Match User username
#       PasswordAuthentication yes
        ForceCommand /bin/false