Site Tools


chuleta_linux

This is an old revision of the document!


ssh clave pública

ssh-keygen
ssh-copy-id 172.16.200.16

tunel ssh

#Da shell en la primera maquina abre túnel a la segunda
ssh cephadm@10.0.13.51 -L 10022:172.16.200.200:22

#Dloquea terminal, no da shell, terminar tunel con Ctrl-C
ssh cephadm@10.0.13.51 -L 10022:172.16.200.200:22 -N

#se va a segundo plano, se termina con kill
ssh cephadm@10.0.13.51 -L 10022:172.16.200.200:22 -N -f

#Creamos tunel público con -g
ssh cephadm@10.0.13.51 -gL 10022:172.16.200.200:22

Ratón vim en debian 9

vi  /usr/share/vim/vim80/defaults.vim 

" In many terminal emulators the mouse works just fine.  By enabling it you
" can position the cursor, Visually select and scroll with the mouse.

if has('mouse')
  set mouse-=a
endif

Fullchain cert

cat pandora_unizar_es.crt DigiCert_Assured_ID_Root_CA.pem >pandora_unizar_es_full.crt

WIFI deauth leaving

  • aborting authentication with 28:6c:07:cf:ec:e5 by local choice (Reason: 3=DEAUTH_LEAVING)
  • La causa es la incompatibilidad de los nombres largos de dispositivo con algunos firmware.
# cat  /etc/systemd/network/50-wlan.link
[Match]
Type=wlan

[Link]
Name=wlan0
chuleta_linux.1583176512.txt.gz · Last modified: by etfiat