#!/usr/bin/expect
spawn ssh -N -L 54000:172.16.12.23:50200 root@172.16.20.147
sleep 1
expect "assword:"
send "P0r70s2017!\r"
interact