summaryrefslogtreecommitdiff
path: root/security/opkssh/files/pkg-message.in
blob: 49cc063a10ae737e802ba326ab269a717015ae82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[
{ type: install
  message: <<EOM
Configure your sshd_config(5) with the following to use opkssh for authorization:

  AuthorizedKeysCommand %%PREFIX%%/bin/opkssh verify %u %k %t
  AuthorizedKeysCommandUser %%USER%%

opkssh uses the '%%PREFIX%%/etc/opk' directory, where providers and identities are stored.
Neither the directory nor the files are created automatically, so you must create them
yourself. After creating the 'auth_id' and 'providers' files, they must have the
following permissions:

  chown root:%%GROUP%% %%PREFIX%%/etc/opk/auth_id
  chmod 640 %%PREFIX%%/etc/opk/auth_id
  chown root:%%GROUP%% %%PREFIX%%/etc/opk/providers
  chmod 640 %%PREFIX%%/etc/opk/providers

Users attempting to use opkssh from jails, please add "allow.mlock" or it will not run.
EOM
}
]