3 lines
138 B
Bash
Executable file
3 lines
138 B
Bash
Executable file
#!/bin/bash
|
|
ssh-keygen -f "${HOME}/.ssh/known_hosts" -R "[localhost]:2222"
|
|
ssh -p 2222 -o StrictHostKeyChecking=accept-new test@localhost
|