startup script
ssh
https://ritsch.io/2017/08/02/execute-script-at-linux-startup.html
<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=5cae28683bbbf" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 10/04/2019
tar -xvzf archive.tar.gz
ssh
<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=5cad0cfa69cd7" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 09/04/2019
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -F
iptables -t mangle -F
iptables -F
iptables -X
linux ssh
<iframe width="100%" height="326" src="http://snipet.teknotit.com/index.php?embed=5beaf2818b827" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 13/11/2018
#Vérouiller
chattr +i filename
# Dévéruiller
chattr -i filename
# Vérouiller avec option ajout uniquement
chattr +a filename
#Vérivier si y a un vérrou
lsattr filename
ssh sysadmin
https://www.howtoforge.com/linux-chattr-command/
<iframe width="100%" height="524" src="http://snipet.teknotit.com/index.php?embed=5bc314672d854" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 03/04/2020
Monitoring email
ssh sysadmin
https://www.howtoforge.com/mailgraph_pflogsumm_debian_etch
<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=5682beb1355e4" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 29/12/2015
compgen -u
compgen -g
ssh ubuntu
http://askubuntu.com/questions/515103/how-to-display-all-user-and-groups-by-command
<iframe width="100%" height="218" src="http://snipet.teknotit.com/index.php?embed=54d4ac87abde8" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 06/02/2015
ssh-keygen -f ~/.ssh/id_rsa -q -P ""
linux ssh
<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=544aef48a2415" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 25/10/2014
# exemple avec une cle d'uatorisation public
scp authorized_keys root@846.126.109.15:/root/.ssh/
bash linux ssh
<iframe width="100%" height="236" src="http://snipet.teknotit.com/index.php?embed=544ae61deb0f0" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 24/10/2014
set PATH=C:\Program Files\PuTTY
#The format for pscp is straight forward:
pscp [options] source destination
#To copy a Windows file to Linux system, at the DOS prompt, type
pscp c:/music.mp3 ubuntu@10.0.0.3:/home/ubuntu/Music
The reverse works as well (copy Linux file to Windows)
pscp ubuntu@10.0.0.3:/home/ubuntu/Music/music.mp3 c:/
bash linux ssh
https://community.freescale.com/thread/220596
<iframe width="100%" height="416" src="http://snipet.teknotit.com/index.php?embed=54480fc9d4aa9" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 24/10/2014