Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is there a way to find the Remote Host in ZSH?
- X-seq: zsh-users 1659
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: Is there a way to find the Remote Host in ZSH?
- Date: Mon, 29 Jun 1998 15:31:25 -0700
- In-reply-to: <19980629173515.15910@xxxxxxxxxxxxxxxxxxxx>
- References: <199806292026.QAA10696@ocalhost> <19980629173515.15910@xxxxxxxxxxxxxxxxxxxx>
On Jun 29, 5:35pm, Sweth Chandramouli wrote:
>
> it looks like it; on my machine, at least, i have REMOTE_HOSTNAME
> and REMOTE_IPADDRESS defined when i log in:
>
> (astaroth)~: set | grep 'REMOTE'
> REMOTE_HOSTNAME=simon
> REMOTE_IPADDRESS=208.135.210.91
>
> those aren't being set in any of the system-wide scripts or in
> any of my personal ones, so i'm assuming that they are set by the shell.
Are they set regardless of whether you rlogin/rsh/telnet/ssh to the remote
machine?
They could be being set by the rlogin daemon or some such, before the shell
is even started.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author