1 |
This is my very first post to the list, so hello you all :) |
2 |
|
3 |
I've been editing /etc/ssh/sshd_config in order to configure SSH as told |
4 |
in the guide at gentoo.org. The options you have to set for a quick |
5 |
start configuration are: |
6 |
|
7 |
Port 22 |
8 |
Protocol 2 |
9 |
ServerKeyBits 2048 |
10 |
SyslogFacility AUTH |
11 |
LogLevel INFO |
12 |
LoginGraceTime 60 |
13 |
PermitRootLogin no |
14 |
RSAAuthentication no |
15 |
PubkeyAuthentication yes |
16 |
PasswordAuthentication no |
17 |
PermitEmptyPasswords no |
18 |
PAMAuthenticationViaKbdInt no |
19 |
Compression yes |
20 |
KeepAlive yes |
21 |
ClientAliveInterval 30 |
22 |
ClientAliveCountMax 4 |
23 |
|
24 |
|
25 |
I have encountered two issues in that: |
26 |
|
27 |
1.- When restarting the sshd service you are told |
28 |
PMAAuthenticationViaKbdInt is deprecated. |
29 |
|
30 |
2.- KeepAlive is not commented in the default configuration file, there |
31 |
is TCPKeepAlive instead. I suppose same options are the same. Could |
32 |
anyone confim that? |
33 |
|
34 |
Thanks! |