Daily Weekly Monthly

Daily Shaarli

All links of one day in a single page.

March 18, 2015

SSH through HTTP proxy

Comment se connecter en SSH à un serveur en passant par un proxy ?

et bien il faut tout d'abord passer par le port 443 (voir sslh ...)

puis dans .ssh/config :

Outside of the firewall, with HTTPS proxy

Host serveur_ssh_sur_port_443
ProxyCommand connect -H proxy_host:proxy_port %h 443

Inside the firewall (do not use proxy)

Host *
ProxyCommand connect %h %p

pour utiliser git@github.com:

Host github.com
ProxyCommand=ssh serveur_ssh_sur_port_443 "/bin/nc -w1 %h %p"

et voila !

Construire en béton cellulaire

Un livre à lire en ligne ou à télécharger (payant).

http://download.pureftpd.org/pub/pure-ftpd/doc/README.Virtual-Users

Comment configurer des utilisateurs avec Pure-FTPd ?

exemple ajout :
pure-pw useradd joe -u ftpuser -d /home/ftpusers/joe

pour prendre en compte les changements :
pure-pw mkdb

liste de utilisateurs :
pure-pw list

detail d'un utilisateur :
pure-pw show joe

pour une liste des commandes :
pure-pw

et voila !