in reply to Reaped: after $ssh->before()

See How to use "$ssh->before()" and the answers you got there.