mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 19:42:37 +02:00
- Added the ability to display book cover for the category "Lectures" if ISBN cover is available. - Moved author's name into a small tag for better hierarchy and readability. - Implemented a feature to indicate link sizes depending on the number of articles associated with a given tag. - Implemented a mini footer element displaying an RSS feed icon. - Improved category display using description dictionary. - Added a new plugin "isbn_downloader" to fetch ISBN information when needed. - Included the count of articles for each category. - Implemented changes for better layout and readability of tags and categories. - Adjusted the layout of the webpage, improving the overall look of the page. - Included "requests" in the requirements.txt for supplanting dependencies required by the new plugin and/or features.
31 lines
813 B
Markdown
31 lines
813 B
Markdown
# Astuces SSH
|
|
|
|
|
|
## Tunelling
|
|
|
|
Parce que je m'en rapelle jamais (tête de linote):
|
|
|
|
$ ssh -f hote -L local:lolnet.org:destination -N
|
|
|
|
## .ssh/config
|
|
|
|
(merci [gaston](http://majerti.fr) \!)
|
|
|
|
La directive suivante dans .ssh/config permet de sauter d'hôte en hôte
|
|
séparés par des "+" :
|
|
|
|
Host *+*
|
|
ProxyCommand ssh $(echo %h | sed
|
|
's/+[^+]*$//;s/\([^+%%]*\)%%\([^+]*\)$/\2 -l \1/;s/:/ -p /')
|
|
PATH=.:\$PATH nc -w1 $(echo %h | sed 's/^.*+//;/:/!s/$/ %p/;s/:/ /')
|
|
|
|
On peut donc spécifier des "sauts" ssh du style:
|
|
|
|
ssh root@91.25.25.25+192.168.1.1
|
|
|
|
Ensuite on peut essayer de rajouter:
|
|
|
|
Host <label_pour_mon_serveur_privé>
|
|
user <monuser(root)>
|
|
IdentityFile <chemin vers ma clé ssh pour le serveur publique>
|
|
hostname ip_serveur_publique+ip_serveur_privé
|