For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
! Molokai theme | |
*xterm*background: #101010 | |
*xterm*foreground: #d0d0d0 | |
*xterm*cursorColor: #d0d0d0 | |
*xterm*color0: #101010 | |
*xterm*color1: #960050 | |
*xterm*color2: #66aa11 | |
*xterm*color3: #c47f2c | |
*xterm*color4: #30309b | |
*xterm*color5: #7e40a5 |
Index: crypto/openssh/auth-pam.c | |
=================================================================== | |
--- crypto/openssh/auth-pam.c (revision 229638) | |
+++ crypto/openssh/auth-pam.c (working copy) | |
@@ -809,6 +809,15 @@ | |
return (-1); | |
} | |
+static void | |
+sshpam_log_invalid_user(const char *user, const char* pw, int kbdint) |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# author: mayli <[email protected]> | |
# | |
# Modified from Pinhole, and the original code is found here: | |
# {{{ http://code.activestate.com/recipes/114642/ (r1) | |
# | |
""" | |
usage: pinhole |
aptitude install -y git curl python-dev python-pip redis-server ruby1.9.1-full rubygems1.9.1 | |
aptitude install -y mysql-server libmysqlclient-dev | |
adduser --system --shell /bin/sh --gecos 'git version control' --group --disabled-password --home /home/git git | |
adduser --disabled-login --gecos 'gitlab system' gitlab | |
usermod -a -G git gitlab | |
su - gitlab | |
ssh-keygen -q -N '' -t rsa -f /home/gitlab/.ssh/id_rsa | |
aptitude install gitolite | |
cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub | |
su - git |
To remove a submodule you need to:
This is an example of a socket-activated per-connection service (which is usually referred to as inetd-like service). A thorough explanation can be found at http://0pointer.de/blog/projects/inetd.html.
The key point here is to specify Accept=yes
, which will make the socket accept connections (behaving like inetd) and pass
only the resulting connection socket to the service handler.