ssh tunnel on https

How to expose ssh over https

<p class="wp-block-paragraph">By the mean of a reverse proxy installed on a Proxmox machine, is possible to expose also ssh access to the single machine.</p> <h2 class="wp-block-heading">List of ingredients</h2> <h2 class="wp-block-heading">Preparing <em>The Server</em></h2> <p class="wp-block-paragraph">To generate an self signed certificate, use the command:</p> <p class="wp-block-paragraph">In /etc/nginx/nginx.conf add these lines:</p> <h2 class="wp-block-heading">Preparing <em>The Client</em></h2> <p class="wp-block-paragraph">Copying minihost.crt […]

Read More…

How to stream query result with fastify and mysql2

<p class="wp-block-paragraph">The aim is to serve a data on a REST API as a stream as soon are available. Instead of completely get the data set from the dbms, compress it, send back to the caller, those steps can be part of a stream pipeline.</p> <p class="wp-block-paragraph"><em><strong>Important note on client side</strong></em>: if a regular client, […]

Read More…