Re: how to conf sshd to only accept connections from specifc rsa-keys?
From: Greg Norris (haphazard_at_kc.rr.com)
Date: 10/03/03
- Previous message: Greg Wooledge: "Re: how to conf sshd to only accept connections from specifc rsa-keys?"
- In reply to: Markus Flaig: "how to conf sshd to only accept connections from specifc rsa-keys?"
- Next in thread: Maher Odeh: "RE: how to conf sshd to only accept connections from specifc rsa-keys?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 2 Oct 2003 19:09:10 -0500 To: secureshell@securityfocus.com
On Thu, Oct 02, 2003 at 03:23:47PM +0200, Markus Flaig wrote:
> now my boss offered me to use ssh if i can securely restrict the sshd to
> only allow connections from me.
>
> i thought it might be possible to use my rsa-key to do this but i
> couldn't find out how, or even if this works at all.
Assuming OpenSSH, I'd use something like the following in sshd_config...
Protocol 2
PAMAuthenticationViaKbdInt no
PubkeyAuthentication yes
PasswordAuthentication no
AllowUsers [my_id_here]
At that point, just populate ~/.ssh/authorized_keys and you should be
(more or less) good to go.
- Previous message: Greg Wooledge: "Re: how to conf sshd to only accept connections from specifc rsa-keys?"
- In reply to: Markus Flaig: "how to conf sshd to only accept connections from specifc rsa-keys?"
- Next in thread: Maher Odeh: "RE: how to conf sshd to only accept connections from specifc rsa-keys?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|