         done()
 
     it 'SFTP works', (done) ->
-      ssh = "echo ls | sftp  #{ssh_user_args.join ' '} #{host}"
-      exec ssh, (err, stdout, stderr) ->
+      cmd = "echo ls | sftp  #{ssh_user_args.join ' '} #{host}"
+      exec cmd, (err, stdout, stderr) ->
         should.not.exist err
         done()
 

      should.exist staff_api_key
      newuser = fresh_username()
      options =
        uri: "http://#{host}/#{newuser}"
        form:
          apikey: staff_api_key
      request.post options, (err, resp, body) ->

              uri: "#{baseurl}/#{legacy_boxname}/0123456789/http/index.html"
              followRedirect:true
              , (err, resp, body) ->
                resp.request.redirects.length.should.be.above 0
                resp.should.have.status 200
                body.should.equal 'Testing'
                done()
