SSH Flashcards

1
Q

Instalación SSH

A

apt install openssh-server (solo servidor)

# apt install ssh ( instala cliente y servidor)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Ficheros de configuración

A

/etc/ssh/sshd_ config (servidor)
/etc/ssh/ssh_config (cliente)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

$HOME/.shh/authorized_keys

A

Fichero con las claves públicas de los clientes autorizados a conectarse

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

$HOME/.shh/know_hosts

A

Fichero con los fingerprints de las claves públicas de lo servidores a los que nos hemos conectado

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ssh-keygen -t esa/daa/ecdsa -b número_bits_clave

A

Generación par de claves

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

ssh-keyscan

A

Recopila claves públicas de ciertos hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ssh-copy-id

A

Copia la clave pública al servidor donde queremos conectarnos

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ssh username @remote_host
ssh -l username remote_host

A

Conectar al host e iniciar sesión remotamente

How well did you know this?
1
Not at all
2
3
4
5
Perfectly