How to fix: Port forwarding is disabled to avoid man-in-the-middle attacks. phptuts August 28, 2020 Example command: ssh -v -R 12345:127.0.0.1:80 foo@localhost Solution: edit file /home/Administrator/.ssh/known_hosts delete old server key. Done! Continue Reading