Encore du netcat
Faut que je m'y remette et que je me fasse des mémo pour netcat et hping
-
http://www.picolozine.com/informatique/585-tutoriel-netcat.htmlPort knocking avec packet dans distrib debian
-
http://www.system-linux.eu/index.php?post/2010/10/11/Port-knocking-sur-DebianUn serveur, mais surtout un client pour faire du port knocking
-
http://www.prometheus-group.com/labs/unbounded/46-web-security/135-bash-pk.htmlscreen -S machineA (ensuite on se co en ssh à machineA, puis CTRL A D pour detach)
screen -S machineB (ensuite on se co en ssh à machineB, puis CTRL A D pour detach)
etc
At the end of the day :
screen -ls affiche tous les screens (avec chacun une connexion vers le serv en ssh)
screen -r machineA pour aller sur le A
screen -r machineB pour aller sur le B
alias utiles :
alias sls='screen -ls' #Pour lister les screen
alias sr='screen -r' #Pour recover un screen
alias sn='screen -S' #Pour créer un nouveau screen
-
https://links.infomee.fr/?VQzf3wadd on pour avoir le status de nagios dans ff
-
https://addons.mozilla.org/en-US/firefox/addon/nagios-checker/?src=searchtuto utilisé au final avec ubuntu gnome remix
-
https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallationPour utiliser machinerebond pour accéder aux *.vm automatiquement :
$ cat .ssh/config
Host=machinerebond
Hostname=machinerebond.fqdn.com
User=root
Host=*.distant
User=root
ProxyCommand=ssh -W %h:22 machinerebond
Alternative :
D'abord se co sur la machine rebond avec un -A pour ramener sa key dans l'agent distant
Ensuite on peut se co sur les autres machines, mais plus long.
Autres directives possibles :
ServerAliveInterval 30
ServerAliveCountMax 120
Port 22000
User fooey
IdentityFile ~/.ssh/github.key
LocalForward 9906 127.0.0.1:3306
more : http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
-
https://links.infomee.fr/?0hyAJQScript pour backup toutes ses bases dans des fichiers séparés
-
http://dev.mensfeld.pl/2013/04/backup-mysql-dump-all-your-mysql-databases-in-separate-files/Pour comprendre un peu mieux certaines subtilités de rsync + compléter mémo
-
http://www.jveweb.net/en/archives/2010/11/synchronizing-folders-with-rsync.html#jveweb_en_014_02