Correct SSH Directory permissions
- Feb
- 27
- Posted by TKH Specialist
- Posted in ssh, System Administration
If you are trying to setup Public-Key Authentication and see this error in the logs: Authentication refused: bad ownership or modes for directory Your problem is related to permissions and/or ownership. The following commands on the user account you are trying to setup should fix the problem: chmod go-w ~/ chmod 700 ~/.ssh chmod 600 […]
read morehammer time
- Feb
- 21
- Posted by TKH Specialist
- Posted in Satellite
On a Satellite Server the Hammer command line management tool for provision hosts; editing the attributes; manipulating Satellite structures and mine for data. The annoying part of the hammer command is it (understandably) requires a username and password each time you issue the command. Something I would rather not expose in the bash history. So […]
read moreInstalling Splunk agent for log collection
- Feb
- 13
- Posted by TKH Specialist
- Posted in Logging, Troubleshooting
Splunk agent downloads and directions for enabling Splunk log collection. Overview: This page describes the initial process for Splunk log collection. The only server-side requirements are 1) installation of the Splunk agent 2) configuration of that agent to ask the Splunk deployment server for its configuration. A necessary follow-up step is a list of servers […]
read moreSecure Web Folders
- Feb
- 01
- Posted by TKH Specialist
- Posted in apache, Permissions, Tools
.htaccess Files A .htaccess (dot-htaccess) file contains directives (commands) executed by the server before it delivers files to a browser. Some of the most common use for the .htaccess file is Controlling access to web documents by password or IP address. Scope of the .htacess File If you create a .htaccess file for one of […]
read moreRecent Comments
- Stefan on Flush This!
- Timestamping your Bash History | Matt's Entropy on Remember when you issued that command…?
- Matt Smith on Remember when you issued that command…?
- Ruan on Putting ‘lsof’ to use
- Dylan F. Marquis on External Mapping of LDAP attributes in CAS