Skip to content

Instantly share code, notes, and snippets.

@mkgin
mkgin / authorized_keys
Created February 7, 2017 13:39
SSH authorized keys tunnel only
# .ssh/authorized_keys
# use the -T and -N options.... "ssh -T -N ......"
no-pty,no-X11-forwarding,command="/bin/echo tunnel only" ssh-rsa AAA......... abc@def
@mkgin
mkgin / zabbix dummy.c
Created January 15, 2017 18:30
Zabbix module
zabbix modules
need configured zabbix sources to build.
```
$ git clone -b '3.2.3' --single-branch --depth 1 https://github.com/zabbix/zabbix.git
$ cd zabbix
$ ./bootstrap.sh
$ ./configure
$ cd src/modules/
```