Linux Administration by adam

 Linux administration playlist: here

  • Different ways of sshing into server:

  1. ssh username@ip_of_remote
  2. ssh ip_of_remote -l username
  3. ssh ip_of_remote -l username -p port
  4. ssh -i <key.pem> username@ip_of_remote
  • To know ip address of the machie:
  1. ip a ->It will give ip address of all network interfaces
  2. hostnamme -i ->It will give ip address of he machine
  • uname -a
      It will give information about type of os(Linux), architecture,date time etc

Comments