From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 21:04:48 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EF7E16A4CE for ; Mon, 22 Nov 2004 21:04:48 +0000 (GMT) Received: from ms-smtp-01-eri0.ohiordc.rr.com (ms-smtp-01-smtplb.ohiordc.rr.com [65.24.5.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3AB243D1D for ; Mon, 22 Nov 2004 21:04:47 +0000 (GMT) (envelope-from dmehler26@woh.rr.com) Received: from satellite (dhcp065-031-041-029.woh.rr.com [65.31.41.29]) iAML4blv010509 for ; Mon, 22 Nov 2004 16:04:41 -0500 (EST) Message-ID: <002101c4d0d6$cff7d180$0200a8c0@satellite> From: "dave" To: Date: Mon, 22 Nov 2004 16:04:06 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: securecrt fix to ssh to 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 21:04:48 -0000 Hello, Just info for user's of securecrt who are trying to connect to a 5.3 box. Firstly, PasswordAuthentication is the setting you have to change in sshd_config to continue to use passwords. I don't know what ChalengeResponseAuthentication does, but it adds several password login prompts so i turned it off. On the server use ssh-keygen to generate a key. On your windows box use SecureCRT to generate a key. Go to options, global options, and ssh2, and click the create public key button. Follow the onscreen prompts i would recommend a passphrase but that's up to you. When your done upload the public version of the key mine was satellite.pub to the server. I tried the cat command to get it in to the authorized_keys file, this did not work. The fix run this: ssh-keygen -f /path/to/file.pub -i > ~/.ssh/authorized_keys or if authorized_keys already exists do: ssh-keygen -f /path/to/file.pub -i >> ~/.ssh/authorized_keys that should be on one line. In securecrt change your login from password to public key. HTH Dave.