Treiberenwicklung in C HW 2 Flashcards
Was ist erforderlich, dass Linux mit SSH zu erreichen ist?
Kernel Settings - All VIRTIO settings - TCP/IP networking - Networking features overall - MULTIUSER config Busybox - ifconfig - route - udhcpc (client!) Dropbear
What is the devpts filesystem mounted at /dev/pts used for when dropbear is configured with –enable-openpty (default)?
pts is used as a virtual terminal to display the output of dropbear on the kernel terminal.
Mit welchem Tool ermöglicht man die Kommunikation über SSH mit der Maschine?
Dropbear is a relatively small SSH server and client
Befehl über den Maschine über SSH erreichbar ist?
ssh -o StrictHostKeyChecking=off root@localhost -p 22222 “$@”
How can you display the public key portion of the key file?
Change into your user directory with cd
Use cat .ssh/id_rsa.pub
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?
The authorized_keys file in the ~/.ssh directory.
How is the DHCP lease applied to the interface by udhcpc?
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.