Re: ssh und aptitude
Michael Koch <konqueror@gmx.de> 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 debian-user-german-request@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)
Reply to: