modified global.js for ssh key testing