Networking & Remote Access Flashcards
What does the command ifconfig do?
Show network configuration (deprecated, use ip a)
ifconfig is considered deprecated in favor of the ip command.
What is the purpose of the command ip a?
Show IP addresses and network interfaces
This command provides detailed information about network interfaces and their configurations.
What does the ping <host> command do?</host>
Test network connection to a host
Ping is used to check the reachability of a host on an Internet Protocol (IP) network.
How do you connect to a remote machine via SSH?
ssh user@ip
SSH (Secure Shell) is a protocol used to securely access and manage network devices.
What is the command to securely copy a file to a remote machine?
scp <file> user@ip:/path/</file>
SCP (Secure Copy Protocol) allows for secure file transfer between hosts on a network.