Linux Networking Commands I

  • It provides a secure connection between two hosts.
  • It transfers the data into encrypted form between both the hosts, takes the input from another connected system and sends the output to it.
  • Since the communication is encrypted, it can also be used in insecure networks.
  • It is mainly used to execute commands on a remote machine without using the shell prompt.
  1. ssh-keygen: This is used to generate a public or private authentication key pair for the ssh protocol and allows the user to connect to a remote system without the use of a password. For each user, a separate key should be generated.
  2. ifconfig: This stands for Interface Configuration. This command is used to view and change the configurations of the network interfaces on the system. It can be used to enable or disable the network interface, display current network configuration information, set up an IP address and assign a netmask or a broadcast address to the network interface.
  3. ping: This stands for Packet Internet Groper. This command is used to check the connectivity status between a host and a source. It calculates the total time taken to send a packet and receive an acknowledgement from the source. This time is called Latency. Low latency and fast ping means that the connection is fast.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store