1 |
Thanks, |
2 |
|
3 |
On Saturday 14 October 2006 19:27, Harm Geerts wrote: |
4 |
> On Saturday 14 October 2006 19:45, Mick wrote: |
5 |
> > I have a vhost account with an ISP and he's given me ssh access - which |
6 |
> > is nice. However, his /etc/sshd_config is set to allow passwd |
7 |
> > authentication rather than public key and there's no |
8 |
> > ~/.ssh/authorised_keys dir/file in my home. |
9 |
> |
10 |
> How does that matter? |
11 |
> You should be able to create that yourself. |
12 |
|
13 |
Hmm, I can't! This is a FreeBSD server and it's rather locked down with |
14 |
respect to normal user access rights. |
15 |
|
16 |
> ssh doesn't care about vhost |
17 |
> |
18 |
> And yes you can, the default sshd config comes with an example: |
19 |
> # Example of overriding settings on a per-user basis |
20 |
> #Match User anoncvs |
21 |
> # X11Forwarding no |
22 |
> # AllowTcpForwarding no |
23 |
> # ForceCommand cvs server |
24 |
|
25 |
Cool! I can't find this in my sshd_config file for some reason. So, all I |
26 |
need to ask them to do is uncomment #Match User and add my user name and |
27 |
options? Like so: |
28 |
================================= |
29 |
Match User mick |
30 |
PubkeyAuthentication yes |
31 |
AuthorizedKeysFile ~/.ssh/authorized_keys |
32 |
PasswordAuthentication no |
33 |
================================= |
34 |
|
35 |
Is that correct? |
36 |
-- |
37 |
Regards, |
38 |
Mick |