SSH Flashcards

1
Q

ficheros de configuracion

SSH

A

servidor -> etc/ssh/sshd_config
cliente -> etc/ssh/ssh_config

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

paquete instalacion servidor

SSH

A

apt install openssh-server

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

paquete instalacion cliente y servidor

SSH

A

apt install ssh

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

fichero con las claves publicas de los clientes autorizados a conectarse

SSH

A

€HOME/ .ssh/authorized_keys
(esta en el servidor)

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

fichero de las claves publicas de los servidores que nos hemos conetado

SSH

A

€HOME .ssh/known_hosts
(esta en el cliente)

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

generacion de par de claves

SSH

A

ssh-keygen -t rsa/dsa

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

cliente de ssh

A

ssh

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

como nos conectamos

SSH

A

ssh root@192.100.23.23

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

ssh -p puerto username@remote_host comando

A

para conectarnos a un puerto diferente al 22

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

ssh -L 3306:localhost:3306 root@192.2.2.2

A

crear tunel local

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

ssh -l username remote_host

A

para conectarnos

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

ssh-agent

A

agente de autenticacion

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

ssh-copy-id username@remote_host

A

copia de la clave publica al servidor donde queremos conectarnos

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

puerto SSH

A

22

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

sobre que protocolo va SSH

A

TCP

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

en que capa funciona SSH

A

aplicacion

17
Q

tipo de criptografia SSH

A

criptografia asimetra (clave publica y privada)

18
Q

ssh root@192.x.x.x ‘who’

A

para saber quien esta conectado

19
Q

comprobar remotamente el setUID y el setGID

SSH

A

ssh servidor -l usuario id