SSH Flashcards

1
Q

Instalar solo servidor

A

apt install openssh-server (solo servidor)

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

Instalar cliente-servidor

A

apt install ssh (instala cliente y servidor)

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

Ruta Servidor

A

/etc/ssh/sshd_config (servidor)

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

Ruta cliente

A

/etc/ssh/ssh_config (cliente)

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

$HOME/.ssh/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
6
Q

$HOME/.ssh/known_hosts

A

(fichero con los fingerprint de la claves publicas de los servidores a los que nos hemos conectado)

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

ssh-keygen -t rsa/dsa/ecdsa -b numero_bits_clave

A

(generacion de par de claves)

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

ssh-keygen -l -f ssh_host_ecdsa_key.pub

A

(muestra el fingerprint de esa clave)

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

ssh-copy-id

A

(copia de la clave publica al servidor donde queremos conectarnos)ssh-copy-id username@remote_host

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

ssh username@remote_host

A

(conectar al host e iniciar una sesion interactiva remotamente)

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

ssh username@remote_host comando

A

(ejecutar un comando remotamente)

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

Rutas autenticación del host

A

/etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_dsa_key (idem)
/etc/ssh/ssh_host_ecdsa_key (idem)

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