Fletch wrote [2003/08/05]:
> >>>>> "Andy" == Andy Spiegl <zsh.Andy@xxxxxxxxx> writes:
>
> Andy> Hi Fletch,
> >> ssh root@somehost -t REALME=andy exec zsh
^^^^^^^^^^^
> Andy> Great. Does that have any disadvantages (i.e. any
> Andy> differences) from compared with the "normal" ssh
> Andy> root@somehost ???
>
> Shouldn't. The -t makes ssh allocate a pty even though you've given
> it a command to run so things that need one (like zsh or vi :) will
> have one. If you want it to be more like a normal login you could do
> `exec su - root' instead.
^
wiping out the "REALME" variable? I don't think that's
what is intended :)
Ciao,
Thomas
--
Thomas Köhler Email: jean-luc@xxxxxxxxxxxxxxxxx | LCARS - Linux
<>< WWW: http://jeanluc-picard.de | for Computers
IRC: jeanluc | on All Real
PGP public key available from Homepage! | Starships
Attachment:
pgpCyoeEb4EAw.pgp
Description: PGP signature