> -sh: cannot open /dev/tty: No such device or address

This is because in the current context you don't have a controlling tty.

> But when I try to do that on a ubuntu linux system it works.

In that context you have a tty. Try "man 4 tty" for some information.
 
> So I guess on the foxboard is something like "< /dev/tty" is not possible w=
> ith every command.

There is no difference between the fox and any other Unix system:

    morgana% ssh localhost "true < /dev/tty"
    /dev/tty: No such device or address.

> I'd like to find out if that is the reason, why gpg does not work on
> foxboard.

gpg _does_ work. But if you create a key, it wants to ask you the
passphrase, and it must do that in a secure way. If there is no tty,
there is no way to turn off echo on an input channel, for example.

So, either run it in a telnet or ssh interactive session where there
is a tty for the process, or create the key elsewhere, and then copy
the files in the target tree.

> Is there a possibility to give gpg another console or something like that to
> avoid making him trying to open /dev/tty?

If the previous suggestions don't work for you, you can always change and
recompile gpg.

Hope this helps
/alessandro

Reply via email to