RHCSA Ch8 Flashcards

1
Q

SSH Config files

A
- Client
/etc/ssh/ssh_config
- Server
/etc/ssh/sshd_config
/etc/sysconfig/sshd
- Per user client config
~/.ssh/config
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

generate a ssh key pair

A

ssh-keygen

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

send ssh public key to remote host

A

ssh-copy-id rhhost2

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

where are known remote server’s fingerprints stored?

A

~/.ssh/known_hosts

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

securely copy hosts file to a remote server

A

scp /etc/hosts 192.168.0.2:/tmp

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