Grokbase
Topics Posts Groups | in
x
[ help ]

Ingemar Nilsson (i...@kth.se)

Profile | Posts (1)

User Information

Display Name:Ingemar Nilsson
Partial Email Address:i...@kth.se
Posts:
1 total
1 in CentOS

1 Most Recent Post

1) Ingemar Nilsson Re: [CentOS] Securing SSH
| +1 vote
This is probably not what he meant. You can use a key pair to authenticate with the SSH server and...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Tim Alberts wrote:

> I got keys setup so I know
> I'm talking to my server.

This is probably not what he meant. You can use a key pair to
authenticate with the SSH server and turn off password authentication
entirely. That makes password guessing attacks utterly impossible,
because the server will only accept a response signed with your private key.

ssh-keygen -t rsa

or

ssh-keygen -t dsa

generates a key pair. Do this on your local machine, and append the
contents of your $HOME/.ssh/id_rsa.pub (or id_dsa if you chose DSA
instead of RSA) to your $HOME/.ssh/authorized_keys file on the remote
system.

This method is somewhat more complicated to setup, since all users must
have public keys in their $HOME/.ssh/authorized_keys file, or they can't
login.

Regards
Ingemar
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos

spacer
Profile | Posts (1)
Home > People > Ingemar Nilsson