Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: how to find out who I am



>>>>> "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.

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch@xxxxxxxxxxxx   |  Vincent, you should cease askin'          \ o.O'
770 294-0820 (m)      |  scary questions." -- Jules                =(___)=
                      |                                               U



Messages sorted by: Reverse Date, Date, Thread, Author