9_SSH Flashcards

1
Q

Instalar solo el servidor

A

apt install openssh-server

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

instalar cliente y servidor

A

apt install ssh

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

fichero de configuracion del SERVIDOR

A

/etc/ssh/sshd_config

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

fichero de configuracion del cliente

A

/etc/ssh/ssh_config

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

fichero con las claves publicas de los clientes autorizados a conectarse

A

$HOME/.ssh/authorized_keys

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

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

A

$HOME/.ssh/known_hosts

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

copia de la clave publica al servidor donde queremos conectarnos

A

ssh-copy-id username@remote_host

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

(crea un tunel local)

A

ssh -L your_port:site_or_IP_to_access:site_port username@host

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

(crea un tunel remoto)

A

ssh -R remote_port:site_or_IP_to_access:site_port username@host

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

autenticacion del host

A

/etc/ssh/ssh_host_rsa_key

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

generacion de par de claves

A

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

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

muestra el fingerprint de esa clave

A

ssh-keygen -l -f ssh_host_ecdsa_key.pub

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

scp

A

scp [other options] [source username@IP]:/[directory and file name] [destination username@IP]:/[destination directory]
scp your_username@remotehost.edu:foobar.txt /some/local/directory
scp foobar.txt your_username@remotehost.edu:/some/remote/directory
-r (copia recursiva)
-p (conservará los tiempos de modificación iniciales y los atributos del archivo)
-l (limita el ancho de banda usado. Kbit/s)

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