#!/bin/bash ssh-keygen -f "/home/pop-os/.ssh/known_hosts" -R "[localhost]:2222" ssh -p 2222 -o StrictHostKeyChecking=accept-new test@localhost