Let's start with the opening act!

SSH

Secure Shell Protocol

Port: 22

What is SSH?

  • Network Protocol used for remote administration

  • Created in 1995 by Tatu Ylönen, SSH protocol

  • Uses Public-key based authentication for controlled access

Why SSH?

And

Alternatives?

rlogin

telnet

ftp

How it works?

How to connect?

  • SSH client
  • Access permission (User and password)
  • Server address (IP/URL)

ssh <user>@<ip-address>

-v: verbose

-i: identify file (.pem file)

Processes & Services

  • Each program in execution is a process
  • All processes are tracked by Operating system
  • Linux keep process details in /etc/proc

Lifecycle of process

Process management?

View all active processes

ps

-a: all process

-u: for users in userlist

Services

Set of processes

How to manage services?

systemd

Systemd: service manager

  • Check status
  • Start service
  • Stop service
  • Control service

systemd

status

<service>

start

stop

enable

Logging

Questions?

Thank you!

Kernel (Drivers)

Made with Slides.com