From owner-freebsd-questions Tue Jun 8 3:34:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id C995014E54; Tue, 8 Jun 1999 03:34:40 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id MAA13536; Tue, 8 Jun 1999 12:34:39 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id MAA07566; Tue, 8 Jun 1999 12:34:39 +0200 (MET DST) Date: Tue, 8 Jun 1999 12:34:39 +0200 From: Eivind Eklund To: hqy2446 Cc: freebsd-questions@FreeBSD.ORG, freebsd-security@FreeBSD.ORG Subject: Re: newbie question: ssh Message-ID: <19990608123439.B7512@bitbox.follo.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: ; from hqy2446 on Tue, Jun 08, 1999 at 03:07:49AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jun 08, 1999 at 03:07:49AM -0400, hqy2446 wrote: > I have a newbie question regarding X connection forward by ssh. > > After I installed ssh-1.2.27 and ssh-2.0.13, I was unable to use 'X > connection forwarding' at certain servers. Now I tried this command: > > $ ssh -l [username] [remote host] xterm -display [my ip address]:0.0 > > xterm of the remote host was opened and I could run X clients on the host. > > I want to make sure that this connection is secured or not by experts or > experienced users of ssh. Not secured. > And one more question: What is the difference between above way of > connection and just a connection to a remote host by ssh(just like a > telnet) and run X clinets at the remote host shell? ssh will normally set up an emulated display at localhost:10.0 (or 11.0, 12.0, etc - depends on how many other ssh users you have.) This is securely forwarded, and is what you'll normally use. Your setup makes the program use an insecure connection over the normal net instead. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message