close
Warning:
Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jul 11, 2009, 5:53:20 PM (14 years ago)
- Author:
-
hank
- Comment:
-
work on server setup
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v28
|
v29
|
|
18 | 18 | }}} |
19 | 19 | |
20 | | === Change SSH Port === |
| 20 | === Config SSH === |
21 | 21 | edit /etc/ssh/sshd_config |
| 22 | {{{ |
| 23 | Port 2222 |
| 24 | PermitRootLogin no |
| 25 | PasswordAuthentication no |
| 26 | }}} |
| 27 | |
22 | 28 | Change port line to 2222 (or whatever port) |
23 | 29 | restart sshd to check |
… |
… |
|
26 | 32 | }}} |
27 | 33 | |
28 | | |
29 | | |
| 34 | === Add nologin to restrict fileusers === |
| 35 | {{{ |
| 36 | echo "/usr/sbin/nologin" >> /etc/shells |
| 37 | useradd -s /usr/sbin/nologin fileuser |
| 38 | }}} |
30 | 39 | |
31 | 40 | === VIA Padlock and OpenSSL === |