ターミナルが必要な三題。
"gpg: cannot open `/dev/tty': No such device or address" と言われた時は、"ssh -t" (Force pseudo-tty allocation.) で解決。
パスフレーズとかはファイルで渡してるんだけど、それでも tty が必要な不思議。
ssh で "Cannot fork into background without a command to execute." と言われたら、"ssh -N" で解決。
screen で "Must be connected to a terminal." と言われたら、"screen -d -m" で解決。