acp/ssh.sh

3 lines
143 B
Bash
Executable file

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