Re: lug-bg: ssh and DISPLAY ?
- Subject: Re: lug-bg: ssh and DISPLAY ?
- From: borj@email.domain.hidden (Борис Йорданов)
- Date: Wed, 4 Jun 2003 12:21:22 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 04 June 2003 11:05, raptor wrote:
<em class="quotelev1">> na seminara Georgi Chorbadviiski,
<em class="quotelev1">>
<em class="quotelev1">> zagatna za ssh i XForwarding.. ta waprosa mi e, kak po princip trqbwa da se
<em class="quotelev1">> setne DISPLAY promenliwata taka che kato se logna w remote mashinata da
<em class="quotelev1">> moga da startiram apps.. Kade se incializira tazi promenliwa...bash_rc,
<em class="quotelev1">> /etc/X11/..?
Ð?Ñ?едноÑ?о май не беÑ?е много Ñ?даÑ?ен оÑ?говоÑ?, Ñ?Ñ?жалÑ?вам.
man ssh
X11 and TCP forwarding
If the ForwardX11 variable is set to â??yesâ?? (or, see the description of
the -X and -x options described later) and the user is using X11 (the
DISPLAY environment variable is set), the connection to the X11 display
is automatically forwarded to the remote side in such a way that any X11
programs started from the shell (or command) will go through the
encrypted channel, and the connection to the real X server will be made
from the local machine. The user should not manually set DISPLAY. For-
warding of X11 connections can be configured on the command line or in
configuration files.
The DISPLAY value set by ssh will point to the server machine, but with a
display number greater than zero. This is normal, and happens because
ssh creates a â??proxyâ?? X server on the server machine for forwarding the
connections over the encrypted channel.
ssh will also automatically set up Xauthority data on the server machine.
For this purpose, it will generate a random authorization cookie, store
it in Xauthority on the server, and verify that any forwarded connections
carry this cookie and replace it by the real cookie when the connection
is opened. The real authentication cookie is never sent to the server
machine (and no cookies are sent in the plain).
If the ForwardAgent variable is set to â??yesâ?? (or, see the description of
the -A and -a options described later) and the user is using an authenti-
cation agent, the connection to the agent is automatically forwarded to
the remote side.
Forwarding of arbitrary TCP/IP connections over the secure channel can be
specified either on the command line or in a configuration file. One
possible application of TCP/IP forwarding is a secure connection to an
electronic purse; another is going through firewalls.
Ð?Ñ?егледай sshd.conf на маÑ?инаÑ?а оÑ? коÑ?Ñ?о иÑ?каÑ? да пÑ?Ñ?каÑ? пÑ?иложениÑ? и Ñ?Ñ?оÑ?веÑ?ниÑ?е ssh.conf на клиенÑ?а за веÑ?ниÑ?е опÑ?ии, Ñ?еÑ?Ñ?еÑ? на демона ако пÑ?омениÑ? неÑ?о и би Ñ?Ñ?Ñ?бвало да Ñ?абоÑ?и.
- --
Take care
<p>Boris Jordanov (borj) <borj_at_gmx.co.uk>
ICQ 10751645
PGP-key-fingerprint:------------------------------
CB23 8B52 5FBC F36A 1B61 F1ED 2831 E52D AAFF 7B08
- --------------------------------------------------
Public-key:---------------------------------------
http://borj.freeshell.org/borj.asc
- --------------------------------------------------
To err is human...
to really foul up requires the root password.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+3boTKDHlLar/ewgRAmMJAJ4+0mWuDt0hqqQsiChs2qYZnGs32gCgufiY
oM+A/TWI59+VsGOtQB/qnQw=
=4H7i
-----END PGP SIGNATURE-----
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|