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