From owner-freebsd-questions@FreeBSD.ORG Sun Jan 13 14:51:58 2008 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 330D016A417 for ; Sun, 13 Jan 2008 14:51:58 +0000 (UTC) (envelope-from marcs@draenor.org) Received: from mx.unseen.co.za (mx.unseen.co.za [192.96.96.11]) by mx1.freebsd.org (Postfix) with ESMTP id D2AEF13C442 for ; Sun, 13 Jan 2008 14:51:57 +0000 (UTC) (envelope-from marcs@draenor.org) Received: from marcs by aztec.co.za with local (Exim 4.34) id 1JE4Bm-0007do-Uc; Sun, 13 Jan 2008 16:51:54 +0200 Date: Sun, 13 Jan 2008 16:51:54 +0200 From: Marc Silver To: takhoos@hotmail.com Message-ID: <20080113145154.GD29976@draenor.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-PGP-Key: http://draenor.org/pubkey.asc Cc: freebsd-questions@freebsd.org Subject: Re: Switching username using SFTP 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: Sun, 13 Jan 2008 14:51:58 -0000 Hi there, You can simply enter a command such as: $ sftp username@hostname.domain.com Cheers, Marc On Sun, Jan 13, 2008 at 09:38:21AM -0500, takhoos@hotmail.com wrote: > > When I ssh into a system which has different login name from the > system I'm on I use this syntax: ssh -l host.domain.com. > > How does one do this with SFTP on the command line? The -l switch > doesn't work. The man pages on SFTP makes no mention of this.