From owner-freebsd-questions@FreeBSD.ORG Tue Mar 18 18:51:19 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 0AB59106566C for ; Tue, 18 Mar 2008 18:51:19 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by mx1.freebsd.org (Postfix) with ESMTP id 92F1B8FC1F for ; Tue, 18 Mar 2008 18:51:18 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.2/8.14.2) with ESMTP id m2IIpG6H047968; Tue, 18 Mar 2008 13:51:16 -0500 (EST) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.2/8.14.2/Submit) with ESMTP id m2IIpGjG047965; Tue, 18 Mar 2008 14:51:16 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Tue, 18 Mar 2008 14:51:15 -0400 (EDT) From: doug To: White Hat In-Reply-To: <153044.57762.qm@web34408.mail.mud.yahoo.com> Message-ID: <20080318134835.Q20176@fledge.watson.org> References: <153044.57762.qm@web34408.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (fledge.watson.org [127.0.0.1]); Tue, 18 Mar 2008 13:51:16 -0500 (EST) Cc: FreeBSD Users Questions Subject: Re: Problem with ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@safeport.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2008 18:51:19 -0000 On Tue, 18 Mar 2008, White Hat wrote: > I have tried using the following command with negative results. > > ssh -L 5902:localhost:5901 scorpio > > That produces this error message: > > Permission denied (publickey). > > I found a reference to this command at: > > http://www.cl.cam.ac.uk/research/dtg/attarchive/vnc/sshvnc.html > > I cannot figure out how to correct whatever the problem is. I am attempting to > connect to a FreeBSD-6.3 machine running 'TightVNC' from a WinXP machine. The > connection works fine using a regular connection; however, I would prefer to > use 'ssh' and limit the port to localhost for security. > > Thanks! > > -- > White Hat > pigskin_referee@yahoo.com Can you use putty or the like and ssh into scorpio without a prompt? If not then you just need to key up ssh to allow login via ssh-add.