Michael Koch <[EMAIL PROTECTED]> wrote:
[...]
> Wenn ich mich auf einem anderen Rechner einlogge und dann aptitude aufrufe 
> funktioniert alles wunderbar.

> user@rechner1$ ssh root@rechner2

> root@rechner2$ aptitude

> Wenn ich jedoch aptitude als auszuführendes Kommando an ssh übergebe kommt 
> eine Fehlermeldung:

> user@rechner2$ ssh root@rechner2 aptitude
> Error opening terminal: unknown.
[...]

Probier mal -t:
 -t      Force pseudo-tty allocation.  This can be used to execute
         arbitrary screen-based programs on a remote machine, which
         can be very useful, e.g., when implementing menu services.
         Multiple -t options force tty allocation, even if ssh has no
         local tty.

         cu andreas


-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)

Antwort per Email an