Tag Info

Hot answers tagged

5

Here is an improved walkthrough to install fail2ban on OS X 10.10 (it probably works on 10.9 also) based on the (somehow faulty) guide at forgetcomputers.zendisk.com. The automated installer didn't work at all for me so I did it manually. cd to ~/Downloads and download fail2ban-0.8.10 cd ~/Downloads curl -O ...


3

Terminal.app probably implements the "media copy" (printer) escape sequence from VT100s. You can read about those control sequences at vt100.net, or in the XTerm Control Sequences, e.g., CSI Pm i Media Copy (MC). Ps = 0 -> Print screen (default). Ps = 4 -> Turn off printer controller mode. Ps = 5 -> Turn on printer ...


2

I think the easiest way to know Guest user name would be login to the system as guest and in terminal type id My guess is that user name for Guest is guest


2

You can prevent these from accumulating if you always exit the X11 server gracefully. That means logging out gracefully and shutting down gracefully. No way you can always do that though, so about all you can do is delete these every now and then. You could write a script to find and remove the ones not in use and run it manually or schedule it to run ...


2

Turns out that SSH recently switched from using MD5 fingerprints (what I refer to as a "traditional" fingerprint) and now uses SHA256 fingerprints (what I referred to as gobbledygook). I'm guessing that with El Capitan OS X is now using a newer version of SSH that is using the new SHA256 default. For those of you who find this, although SSH will give you ...


1

According to the info on the Guest user in the Users & Groups panel, it states that Users cannot log into the Guest user remotely. Additionally, there is this question on SO: Is there a default SSH password on Mac OS X?, specifically the accepted answer: Having no password on the OS level effectively means that ssh is disabled for that user. The ...


1

The most simple way to disable the Apple provided sshd without removing or replacing it is just renaming it: sudo mv /usr/sbin/sshd /usr/sbin/sshd.old Additionally you may add a symbolic link at /usr/sbin/ to the /usr/local/sbin/sshd with sudo ln -s /usr/local/sbin/sshd /usr/sbin/sshd


1

To proper logging events from sshd you should not set -d swiches, since this is reserved for debugging, but you should user sshd_config (not sure where is located in OSX). In sshd_config, there is option LogLevel, which you can adjust to your needs, basically the most verbose level is DEBUG3, which gives you a lot of information helpful for debugging.


1

If you need to set a VNC password - you might need to also kickstart the ARDAgent, you can use this command instead of just loading the plist: sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw mypasswd -restart ...


1

Installing Server.app has several benefits for traditional UNIX hands since OS X makes configuration choices on the client OS that don't work well for people that live in the command line world. (Max files per process, VM tuning, other various kernel tuning changes) Barring an easy solution, I would recommend installing Server and then enabling OS X ...


1

I was missing a piece of the puzzle that klanomath kindly filled by linking to this “Setting up Fail2ban on Mac OS X 10.7+” post, and Buscar웃 reinforced with this “Integrating PF with Fail2ban 0.9” post. While PF was adding the IP address to the fail2ban table, it didn’t know what to do with it. There are a couple of ways to achieve this: The first post ...



Only top voted, non community-wiki answers of a minimum length are eligible