Compare commits
2 commits
3c90152c1c
...
7332d991fc
Author | SHA1 | Date | |
---|---|---|---|
7332d991fc | |||
259a014d3c |
13 changed files with 299 additions and 0 deletions
19
scripts/configure_sshconfig.sh
Executable file
19
scripts/configure_sshconfig.sh
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Include directive for ssh_config is not yet honored by zsh-ssh
|
||||||
|
# (as of 15/05/2025)
|
||||||
|
# Because of this, we will join files in a single configuration file for the
|
||||||
|
# time being.
|
||||||
|
|
||||||
|
destination_file=~/.ssh/config
|
||||||
|
|
||||||
|
# Checking for additional folder for bgworld hosts.
|
||||||
|
if [[ -d ~/.ssh/bgworld ]]; then
|
||||||
|
# If found, the local folder sshconfig contents will be converted to a
|
||||||
|
# "personal" file.
|
||||||
|
destination_file=~/.ssh/config_personal
|
||||||
|
cat ~/.dotfiles/sshconfig/* >${destination_file}
|
||||||
|
bash ~/.ssh/bgworld/hooks/update-config
|
||||||
|
else
|
||||||
|
cat ~/.dotfiles/sshconfig/* >${destination_file}
|
||||||
|
fi
|
8
sshconfig/00-header
Normal file
8
sshconfig/00-header
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# vim:sts=4:sw=4:ft=sshconfig
|
||||||
|
ControlPath ~/.ssh/%r@%h:%p.socket
|
||||||
|
ControlMaster auto
|
||||||
|
ServerAliveInterval 120
|
||||||
|
TCPKeepAlive yes
|
||||||
|
#HostKeyAlgorithms=+ssh-dss,ssh-rsa
|
||||||
|
EnableEscapeCommandline yes
|
||||||
|
|
30
sshconfig/10-home
Normal file
30
sshconfig/10-home
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# vim:sts=4:sw=4:ft=sshconfig
|
||||||
|
### Home hosts ###
|
||||||
|
|
||||||
|
Host fisso
|
||||||
|
HostName 192.168.255.3
|
||||||
|
|
||||||
|
Host r2d2
|
||||||
|
HostName 192.168.255.1
|
||||||
|
Port 54545
|
||||||
|
|
||||||
|
Host osmc
|
||||||
|
HostName home.sys42.eu
|
||||||
|
Port 54545
|
||||||
|
|
||||||
|
Host nas
|
||||||
|
HostName 192.168.255.2
|
||||||
|
User admin
|
||||||
|
|
||||||
|
Host nas-backup
|
||||||
|
HostName 192.168.255.2
|
||||||
|
User backup
|
||||||
|
|
||||||
|
Host octopi octopi.vavassori.lcl
|
||||||
|
HostName 192.168.255.20
|
||||||
|
User pi
|
||||||
|
|
||||||
|
Host vhost
|
||||||
|
HostName vhost.vavassori.lcl
|
||||||
|
#HostName 192.168.255.4
|
||||||
|
|
14
sshconfig/20-contabo
Normal file
14
sshconfig/20-contabo
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# vim:sts=4:sw=4:ft=sshconfig
|
||||||
|
### Contabo ###
|
||||||
|
Host phobos phobos.sys42.eu
|
||||||
|
HostName phobos.sys42.eu
|
||||||
|
Port 45454
|
||||||
|
|
||||||
|
Host deimos deimos.sys42.eu
|
||||||
|
HostName deimos.sys42.eu
|
||||||
|
Port 45454
|
||||||
|
|
||||||
|
Host maersk maersk.sys42.eu
|
||||||
|
HostName maersk.sys42.eu
|
||||||
|
Port 45454
|
||||||
|
|
6
sshconfig/20-ionos
Normal file
6
sshconfig/20-ionos
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# vim:sts=4:sw=4:ft=sshconfig
|
||||||
|
### IONOS ###
|
||||||
|
Host tunwg tunwg.sys42.cc
|
||||||
|
HostName tunwg.sys42.cc
|
||||||
|
Port 54545
|
||||||
|
|
31
sshconfig/30-bglug
Normal file
31
sshconfig/30-bglug
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# vim:sts=4:sw=4:ft=sshconfig
|
||||||
|
### BgLUG ###
|
||||||
|
|
||||||
|
Host bglug-old
|
||||||
|
HostName 79.137.32.133
|
||||||
|
Port 22
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host bglug-main
|
||||||
|
HostName 173.212.234.254
|
||||||
|
Port 28375
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host vomitino
|
||||||
|
HostName 10.1.254.10
|
||||||
|
User root
|
||||||
|
IdentityFile ~/.ssh/id_ed25519
|
||||||
|
ProxyCommand ssh -W %h:%p phobos
|
||||||
|
LocalForward 8080 localhost:80
|
||||||
|
LocalForward 8443 192.168.45.100:8443
|
||||||
|
|
||||||
|
|
||||||
|
### ServerBGlug esterno ###
|
||||||
|
Host reposrv
|
||||||
|
Hostname net.fusili.net
|
||||||
|
Port 1234
|
||||||
|
|
||||||
|
Host reposrv-local
|
||||||
|
Hostname 192.168.1.1
|
||||||
|
Port 1234
|
||||||
|
|
26
sshconfig/30-libreitalia
Normal file
26
sshconfig/30-libreitalia
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# vim:sts=4:sw=4:ft=sshconfig
|
||||||
|
### LibreItalia ###
|
||||||
|
|
||||||
|
Host ciccio.libreitalia.org ciccio
|
||||||
|
HostName 5.189.185.167
|
||||||
|
User emiliano.vavassori@libreitalia.org
|
||||||
|
Port 54321
|
||||||
|
LocalForward 9090 127.0.0.1:9090
|
||||||
|
|
||||||
|
Host ciccio.vpn
|
||||||
|
HostName 172.18.255.1
|
||||||
|
User emiliano.vavassori@libreitalia.org
|
||||||
|
Port 54321
|
||||||
|
ProxyCommand ssh -W %h:%p franco
|
||||||
|
LocalForward 9090 127.0.0.1:9090
|
||||||
|
|
||||||
|
Host franco.libreitalia.org franco
|
||||||
|
HostName 207.180.245.75
|
||||||
|
Port 54321
|
||||||
|
|
||||||
|
# Alias per deploy conference
|
||||||
|
Host conference-remote
|
||||||
|
HostName franco.libreitalia.org
|
||||||
|
Port 54321
|
||||||
|
User root
|
||||||
|
|
42
sshconfig/30-libreschool
Normal file
42
sshconfig/30-libreschool
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# vim:sts=4:sw=4:ft=sshconfig
|
||||||
|
### LibreSchool VPN ###
|
||||||
|
|
||||||
|
Host caravaggio
|
||||||
|
Hostname 172.16.99.6
|
||||||
|
User amgmt
|
||||||
|
|
||||||
|
Host iccamozzi
|
||||||
|
Hostname 172.16.99.10
|
||||||
|
User amgmt
|
||||||
|
|
||||||
|
Host iccamozzi.mirror
|
||||||
|
HostName mirror.iccamozzi.edu
|
||||||
|
User amgmt
|
||||||
|
ProxyCommand ssh -W %h:%p iccamozzi
|
||||||
|
|
||||||
|
Host seminario
|
||||||
|
Hostname 172.16.99.14
|
||||||
|
User amgmt
|
||||||
|
|
||||||
|
Host icalpi.salerno1
|
||||||
|
Hostname 172.16.99.18
|
||||||
|
User amgmt
|
||||||
|
|
||||||
|
Host icalpi.salerno3
|
||||||
|
Hostname 172.16.99.22
|
||||||
|
User amgmt
|
||||||
|
|
||||||
|
Host icalpi.trecastelli
|
||||||
|
Hostname 172.16.99.26
|
||||||
|
User amgmt
|
||||||
|
|
||||||
|
Host icpiana
|
||||||
|
HostName 10.0.254.13
|
||||||
|
User amgmt
|
||||||
|
ProxyCommand ssh -W %h:%p phobos
|
||||||
|
IdentityFile /home/syntaxerrormmm/.ssh/id_rsa
|
||||||
|
IdentitiesOnly yes
|
||||||
|
LocalForward 9980 localhost:980
|
||||||
|
LocalForward 9443 localhost:443
|
||||||
|
LocalForward 9080 localhost:80
|
||||||
|
|
6
sshconfig/30-tdf
Normal file
6
sshconfig/30-tdf
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# vim:sts=4:sw=4:ft=sshconfig
|
||||||
|
# TDF
|
||||||
|
|
||||||
|
Host vm207
|
||||||
|
HostName vm207.documentfoundation.org
|
||||||
|
|
7
sshconfig/60-antoniofaccioli
Normal file
7
sshconfig/60-antoniofaccioli
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# vim:sts=4:sw=4:ft=sshconfig
|
||||||
|
# Antonio Faccioli
|
||||||
|
|
||||||
|
Host lo.soluzioniopen
|
||||||
|
HostName 178.238.230.252
|
||||||
|
User root
|
||||||
|
|
7
sshconfig/60-gabrieleponzo
Normal file
7
sshconfig/60-gabrieleponzo
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# vim:sts=4:sw=4:ft=sshconfig
|
||||||
|
### Gabriele Ponzo ###
|
||||||
|
|
||||||
|
Host ponzo
|
||||||
|
HostName vps.progetto.tr.it
|
||||||
|
Port 21098
|
||||||
|
|
7
sshconfig/60-stefanodavid
Normal file
7
sshconfig/60-stefanodavid
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# vim:sts=4:sw=4:ft=sshconfig
|
||||||
|
### Stefano David ###
|
||||||
|
|
||||||
|
Host bolzano
|
||||||
|
HostName 10.199.199.1
|
||||||
|
User emiliano
|
||||||
|
|
|
@ -167,6 +167,54 @@ Colgo l'occasione per porgere
|
||||||
\end{document}
|
\end{document}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet tfoldedletterfranco "Template per lettera piegata di Franco"
|
||||||
|
%!TeX ts-program = xelatex
|
||||||
|
%!TeX encoding = utf-8 Unicode
|
||||||
|
\documentclass[a4paper,12pt,boldsubject,italicsignature]{letteracdp}
|
||||||
|
\usepackage{polyglossia}
|
||||||
|
\setdefaultlanguage{italian}
|
||||||
|
\usepackage{fontspec,textcomp,xltxtra,xcolor}
|
||||||
|
\defaultfontfeatures{Ligatures=Common}
|
||||||
|
\setmainfont[Mapping=tex-text,Alternate=0,Numbers=OldStyle]{Warnock Pro Light}
|
||||||
|
\usepackage{hyperref}
|
||||||
|
\definecolor{darkblue}{rgb}{0 0 .53}
|
||||||
|
\hypersetup{%
|
||||||
|
colorlinks=true,%
|
||||||
|
urlcolor=darkblue,%
|
||||||
|
pdfauthor={Emiliano Vavassori}%
|
||||||
|
}
|
||||||
|
|
||||||
|
\name{Franco \textsc{Vavassori}}
|
||||||
|
\address{Franco Vavassori\\\\
|
||||||
|
Via B.~Moriggia, n\textdegree~197\\\\
|
||||||
|
24050 Covo (BG)\\\\
|
||||||
|
Tel.~+39~338 2592939}
|
||||||
|
\place{Covo}
|
||||||
|
\signature{Franco Vavassori}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\begin{foldedletter}{%
|
||||||
|
${1:Destinatario}
|
||||||
|
}[%\registered
|
||||||
|
${2:Oggetto}
|
||||||
|
]
|
||||||
|
|
||||||
|
\opening{}
|
||||||
|
|
||||||
|
$0
|
||||||
|
|
||||||
|
Colgo l'occasione per porgere
|
||||||
|
|
||||||
|
\closing{Distinti saluti}
|
||||||
|
|
||||||
|
%\begin{enclosures}
|
||||||
|
% \item Primo Oggetto
|
||||||
|
%\end{enclosures}
|
||||||
|
|
||||||
|
\end{foldedletter}
|
||||||
|
\end{document}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet tfoldedletter "Template per lettera piegata."
|
snippet tfoldedletter "Template per lettera piegata."
|
||||||
%!TeX ts-program = xelatex
|
%!TeX ts-program = xelatex
|
||||||
%!TeX encoding = utf-8 Unicode
|
%!TeX encoding = utf-8 Unicode
|
||||||
|
@ -215,6 +263,54 @@ Colgo l'occasione per porgere
|
||||||
\end{document}
|
\end{document}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet tletterfranco "Template per lettera di Franco."
|
||||||
|
%!TeX ts-program = xelatex
|
||||||
|
%!TeX encoding = utf-8 Unicode
|
||||||
|
\documentclass[a4paper,12pt,boldsubject,italicsignature]{letteracdp}
|
||||||
|
\usepackage{polyglossia}
|
||||||
|
\setdefaultlanguage{italian}
|
||||||
|
\usepackage{fontspec,textcomp,xltxtra,xcolor}
|
||||||
|
\defaultfontfeatures{Ligatures=Common}
|
||||||
|
\setmainfont[Mapping=tex-text,Alternate=0,Numbers=OldStyle]{Warnock Pro Light}
|
||||||
|
\usepackage{hyperref}
|
||||||
|
\definecolor{darkblue}{rgb}{0 0 .53}
|
||||||
|
\hypersetup{%
|
||||||
|
colorlinks=true,%
|
||||||
|
urlcolor=darkblue,%
|
||||||
|
pdfauthor={Emiliano Vavassori}%
|
||||||
|
}
|
||||||
|
|
||||||
|
\name{Franco \textsc{Vavassori}}
|
||||||
|
\address{Franco Vavassori\\\\
|
||||||
|
Via B.~Moriggia, n\textdegree~197\\\\
|
||||||
|
24050 Covo (BG)\\\\
|
||||||
|
Tel.~+39~338 2592939}
|
||||||
|
\place{Covo}
|
||||||
|
\signature{Franco Vavassori}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\begin{letter}{%
|
||||||
|
${1:Destinatario}
|
||||||
|
}[%\registered
|
||||||
|
${2:Oggetto}
|
||||||
|
]
|
||||||
|
|
||||||
|
\opening{}
|
||||||
|
|
||||||
|
$0
|
||||||
|
|
||||||
|
Colgo l'occasione per porgere
|
||||||
|
|
||||||
|
\closing{Distinti saluti}
|
||||||
|
|
||||||
|
%\begin{enclosures}
|
||||||
|
% \item Primo Oggetto
|
||||||
|
%\end{enclosures}
|
||||||
|
|
||||||
|
\end{letter}
|
||||||
|
\end{document}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet tletter "Template per lettera."
|
snippet tletter "Template per lettera."
|
||||||
%!TeX ts-program = xelatex
|
%!TeX ts-program = xelatex
|
||||||
%!TeX encoding = utf-8 Unicode
|
%!TeX encoding = utf-8 Unicode
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue