From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GYput-0006Hp-36 for garchives@archives.gentoo.org; Sat, 14 Oct 2006 20:15:31 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9EKCvaB006110; Sat, 14 Oct 2006 20:12:57 GMT Received: from smtpq2.groni1.gr.home.nl (smtpq2.groni1.gr.home.nl [213.51.130.201]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9EKAonn032677 for ; Sat, 14 Oct 2006 20:10:50 GMT Received: from [213.51.130.188] (port=42610 helo=smtp3.groni1.gr.home.nl) by smtpq2.groni1.gr.home.nl with esmtp (Exim 4.30) id 1GYrJf-0004ud-UZ for gentoo-user@lists.gentoo.org; Sat, 14 Oct 2006 23:45:11 +0200 Received: from cc117081-a.gorre1.fr.home.nl ([217.120.145.219]:53258 helo=manuel.fawlty.mine.nu) by smtp3.groni1.gr.home.nl with esmtp (Exim 4.30) id 1GYpoe-0002Zq-At for gentoo-user@lists.gentoo.org; Sat, 14 Oct 2006 22:09:04 +0200 From: Harm Geerts To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: ssh access in vhost account Date: Sat, 14 Oct 2006 22:10:45 +0200 User-Agent: KMail/1.9.5 References: <200610141845.40651.michaelkintzios@gmail.com> <200610142027.57423.harmgeerts@home.nl> <200610142040.36021.michaelkintzios@gmail.com> In-Reply-To: <200610142040.36021.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610142210.46004.harmgeerts@home.nl> X-AtHome-MailScanner-Information: Neem contact op met support@home.nl voor meer informatie X-AtHome-MailScanner: Found to be clean X-Archives-Salt: dbe5b7ef-d057-4dd5-9434-14d7d50a3e59 X-Archives-Hash: 46b57dbb72ec89d2e6b4f6ca58a3130a On Saturday 14 October 2006 21:40, Mick wrote: > Thanks, > > On Saturday 14 October 2006 19:27, Harm Geerts wrote: > > On Saturday 14 October 2006 19:45, Mick wrote: > > > I have a vhost account with an ISP and he's given me ssh access - which > > > is nice. However, his /etc/sshd_config is set to allow passwd > > > authentication rather than public key and there's no > > > ~/.ssh/authorised_keys dir/file in my home. > > > > How does that matter? > > You should be able to create that yourself. > > Hmm, I can't! This is a FreeBSD server and it's rather locked down with > respect to normal user access rights. > > > ssh doesn't care about vhost > > > > And yes you can, the default sshd config comes with an example: > > # Example of overriding settings on a per-user basis > > #Match User anoncvs > > # X11Forwarding no > > # AllowTcpForwarding no > > # ForceCommand cvs server > > Cool! I can't find this in my sshd_config file for some reason. So, all I > need to ask them to do is uncomment #Match User and add my user name and > options? Like so: > ================================= > Match User mick > PubkeyAuthentication yes > AuthorizedKeysFile ~/.ssh/authorized_keys > PasswordAuthentication no > ================================= > > Is that correct? It should be if the server supports it, I'm using net-misc/openssh-4.4_p1-r4 myself. -- gentoo-user@gentoo.org mailing list