From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 03:14:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AE61106566B for ; Thu, 26 Feb 2009 03:14:34 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id BCA978FC08 for ; Thu, 26 Feb 2009 03:14:33 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n1Q3Bllx031126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 26 Feb 2009 10:11:47 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id n1Q3EVrx052773; Thu, 26 Feb 2009 10:14:31 +0700 (ICT) Date: Thu, 26 Feb 2009 10:14:31 +0700 (ICT) Message-Id: <200902260314.n1Q3EVrx052773@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: ssh + xterm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 03:14:34 -0000 Hi, I want to use ssh to connect to a remote machine, launch an xterm with the IP address of my X server display and exit ssh (there is no need to have ssh idled once xterm has started). I beleive that can be done in a single command, but I am clueless about the syntax. I am pretty much aware that running xterm -display IP-address:0.0 is pretty unsecure, but I consider the local environment to be secure enough. So far I used xrsh, which is based on rsh type of "authentication", by using ssh instead I intend to add password authentication. TIA, Olivier