From owner-freebsd-questions@FreeBSD.ORG Wed Feb 23 18:35:35 2005 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 4E2D916A4CE for ; Wed, 23 Feb 2005 18:35:35 +0000 (GMT) Received: from iqara.net (sendmail.iqara.net [203.187.192.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1EAF43D5F for ; Wed, 23 Feb 2005 18:35:33 +0000 (GMT) (envelope-from shantanoo@gmail.com) Received: (qmail 2494 invoked from network); 23 Feb 2005 18:17:41 -0000 Received: from 30-125-109-203.cable-client.iqara.net (HELO dhumketu.homeunix.net) ([203.109.125.30]) (envelope-sender ) by iqara.net (qmail-ldap-1.03) with SMTP for ; 23 Feb 2005 18:17:41 -0000 Received: by dhumketu.homeunix.net (Postfix, from userid 1001) id D5CFC6781; Thu, 24 Feb 2005 00:05:24 +0530 (IST) Date: Thu, 24 Feb 2005 00:05:24 +0530 From: Shantanoo Mahajan To: dave Message-ID: <20050223183524.GA2363@dhumketu.homeunix.net> Mail-Followup-To: dave , freebsd-questions@freebsd.org References: <006d01c515c3$92ed5300$fb7cb941@satellite> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <006d01c515c3$92ed5300$fb7cb941@satellite> User-Agent: Mutt/1.4.2.1i Organization: Hmmm... I dunno X-OS: FreeBSD 5.3-RELEASE-p5 i386 X-UPTIME: 12:00AM up 5:12, 1 user, load averages: 0.05, 0.01, 0.00 X-Mailer-Website: http://www.mutt.org cc: freebsd-questions@freebsd.org Subject: Re: ssh, sftp, and public key authentication 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: Wed, 23 Feb 2005 18:35:35 -0000 +++ dave [freebsd] [18-02-05 09:10 -0500]: | Hello, | I've got a machine i use public keys on to which i'm trying to ssh. When | i created a key for this user i did not define a passphrase, yet i am being | asked for one when i ssh in to the box. I use the command ssh -i | hostname however if i do sftp username@hostname i'm allowed | in no questions asked. | Help needed! | Thanks. | Dave. google for 'passworldless ssh login' Process in short On the Client machine: > ssh-keygen -t dsa ~/.ssh/id_dsa and ~/.ssh/id_dsa.pub are created. > scp ~/.ssh/id_dsa.pub user@server:~/.ssh/authorized_keys2 >From client: > ssh user@server you will be logged in w/o any password. Regards, Shantanoo