Linux Mac tips
Find the pid of a listening process + kill it
lsof -i tcp:8018COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 2091 slucas 21u IPv4 0x55f00507a74a3aa5 0t0 TCP *:4506 (LISTEN)kill -9 2091ssh add ssh keys to authorized keys in a server
Last updated