Login by passing username and password in url as query parameters. Migrated to node-pty which is currently maintained and updated. added feature to put in global username and password Added server keep alive in ssh options to keep the session alive.