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
chuleta_linux.1555002051.txt.gz · Last modified: by etfiat