From: Harm Geerts <harmgeerts@home.nl>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: ssh access in vhost account
Date: Sat, 14 Oct 2006 22:10:45 +0200 [thread overview]
Message-ID: <200610142210.46004.harmgeerts@home.nl> (raw)
In-Reply-To: <200610142040.36021.michaelkintzios@gmail.com>
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
next prev parent reply other threads:[~2006-10-14 20:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-14 17:45 [gentoo-user] ssh access in vhost account Mick
2006-10-14 18:27 ` [gentoo-user] " Harm Geerts
2006-10-14 19:40 ` Mick
2006-10-14 20:10 ` Harm Geerts [this message]
2006-10-15 15:34 ` Régis Décamps
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200610142210.46004.harmgeerts@home.nl \
--to=harmgeerts@home.nl \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox