Treiberenwicklung in C HW 2 Flashcards

1
Q

Was ist erforderlich, dass Linux mit SSH zu erreichen ist?

A
Kernel Settings 
 - All VIRTIO settings
 - TCP/IP networking
 - Networking features overall
 - MULTIUSER config
Busybox
 - ifconfig
 - route
 - udhcpc (client!)
Dropbear
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the devpts filesystem mounted at /dev/pts used for when dropbear is configured with –enable-openpty (default)?

A

pts is used as a virtual terminal to display the output of dropbear on the kernel terminal.

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

Mit welchem Tool ermöglicht man die Kommunikation über SSH mit der Maschine?

A

Dropbear is a relatively small SSH server and client

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

Befehl über den Maschine über SSH erreichbar ist?

A

ssh -o StrictHostKeyChecking=off root@localhost -p 22222 “$@”

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

How can you display the public key portion of the key file?

A

Change into your user directory with cd

Use cat .ssh/id_rsa.pub

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

Which file within a user’s home directory is used by the SSH server to know which public keys are authorized for the respective user?

A

The authorized_keys file in the ~/.ssh directory.

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

How is the DHCP lease applied to the interface by udhcpc?

A

Once the udchpc obtained or lost a lease it will run a script. This script should configure the system ip, gateway, resolv.conf etc. Busybox provides a sample script, which is placed in the examples/udhcp/ directory after building it.

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