Linux Mac tips
List of recipes to debug or just do what you need on MAC or LINUX machine.
Find the pid of a listening process + kill it
I found this Stackoverflow question.
On MAC
display a table like that
To kill the process
ssh add ssh keys to authorized keys in a server
cat ~/.ssh/id_rsa.pub | ssh root@your.ip.address "cat >> ~/.ssh/authorized_keys"
authorized_keys is file that list all authorized keys in the remote server.
for root login check that PermitRootLogin without-password
is set in you sshdConfig file
https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-digitalocean-droplets
Last updated