       process.stdout.write data
 
   tailRemote: ->
+    if @options.server?
+      @_tailSingleRemote(@options.server)
+    else
+      for server in @options.servers
+        @_tailSingleRemote(server, true)
+
+
+  _tailSingleRemote: (server) ->
     c = new Connection()
     c.on 'ready', =>
-      console.log "Connected"
+      console.log "Connected to #{server}"
       cmd = @getTailCommand()
       c.exec cmd, (err, stream) =>
         stream.on 'data', (data, extended) =>

            data = @options.highlighter.highlight(data)
          process.stdout.write data
    c.connect
      host: @options.server
      port: @options.port or 22
      username: @options.username or nil
      agent: process.env['SSH_AUTH_SOCK']

  constructor: (@options = {}) ->

  isRemote: ->
    @options.server? or @options.servers?
    
  getSshCommand: ->
    user = if @options.username? then "#{@options.username}@" else ''
