ssh Flashcards

1
Q

SSH

A

Secure Shell

Procides a secure channel over an insecure network

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

What does SSH replace?

A

Replaces telnet, rcp, rlogin, rsh

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

Location of authorized public keys

A

~/.ssh/authorized_keys

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

Where does private key come from? (client/server)

A

client

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

key management commands

A

ssh-keygen (creates key pairs)
private key == id_rsa
public key == id_rsa.pub

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

SSH Port Forwarding

A

Usually admin/file transfer, creates encrypted connection where un-encrypted traffic can be sent
Used to get around firewalls

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

Three types of Port Forwarding

A

Local Port Forwarding
Remote Port Forwarding
Dynamic Port Forwarding

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

Local Port Forwarding

A

Client on laptop tunnels to SSH server… Typically used to get around firewalls

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

Remote Port Forwarding

A

SSH server listens for connections on a configured port (opposite of remote port forwarding)

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

Dynamic Port Forwarding

A

Turns SSH client into a Secure Sockets (SOCKS) proxy, which allows any Internet connection to be requested through a proxy

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

What is Secure Shell Protocol Used in

A

SFTP and SCP

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

SCP/SSH port

A

port 22

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

SFTP

A

secure version of FTP, SCP just copies files

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