Re: telnet: forwarding environment variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Sangohn Christian wrote:

> In the telnet man pages there is something about an ENVIRON option that used 
> to propagate custom environment variables to the target host.
> Here is the text from the man page:
> 
> ENVIRONMENT
>      Telnet uses at least the HOME, SHELL, DISPLAY, and TERM environment vari­
>      ables.  Other environment variables may be propagated to the other side
>      via the TELNET ENVIRON option.
> 
> HOW is this optiopn used?

Its use is described in the telnet(1) manpage. Note, however, that it
won't be of much use if "login" clears the environment (which is quite
common).

> Where can it be set?

It can be set at the telnet command prompt (which is usually obtained
by typing "Ctrl-]").

-- 
Glynn Clements <glynn@sensei.co.uk>
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux