updated for new ssh package api