┌───────────────────────┐
  │                       │
  │     help: install     │
  │                       │
  └───────────────────────┘

 

Install:


1. install software:
	$ sudo apt install openssh-client openssh-server sshpass


2. config in file /etc/ssh/sshd_config
	PermitRootLogin yes
	StrictModes no


3. restart ssh server:
	$ sudo systemctl restart ssh


4. Like a user usuaris, from server, test ssh connection:
	$ sshpass -p rootPassword ssh root@localhost "ls -la /root"