測試連線

您可以使用 Telnet 來測試代理程式連線。

如果要從指令行來測試連線,請執行下列動作:

  1. 使用 Telnet 指令來連接代理程式。如果您已登入正在執行代理程式的主機,則可以使用 localhost 作為主機名稱。
    telnet hostname 5555
    這項回應指出連線成功:
    200 HELLO - BuildForge Agent v7.0.1.buildnumber
  2. 使用您的登入認證發出下列指令,以檢查鑑別:
    telnet localhost 5555
    username user name
    password  password
    cmd ping
    go

    下列訊息指出成功:

    AUTH: set user account to <user name>
    如果上述測試可以運作,但工作卻失敗,而您的伺服器測試顯示使用者鑑別錯誤,請檢查可外掛的鑑別模組 (PAM) 配置。如果您看到類似如下的訊息,請繼續進行下一步驟。
    AUTH: unable to set user account to <user name>: unknown account (1)
  3. 輸入下列指令:
    cmd ping go

    以下是一般的 Telnet 階段作業輸出。尤其是看看輸出尾端的 RESULT 0 是否指出成功。這項測試是針對在 Windows® 上執行的代理程式所執行。

    300 DATA s 67
    AUTH: Running as: [SYSTEM] in domain [NT AUTHORITY] SID Type [User]
    300 DATA s 52
    AUTH: Running with Privilege: [Lock pages in memory]
    300 DATA s 66
    AUTH: Running with Privilege: [Adjust memory quotas for a process]
    300 DATA s 63
    AUTH: Running with Privilege: [Create permanent shared objects]
    300 DATA s 46
    AUTH: Running with Privilege: [Debug programs]
    300 DATA s 56
    AUTH: Running with Privilege: [Bypass traverse checking]
    300 DATA s 61
    AUTH: Running with Privilege: [Back up files and directories]
    300 DATA s 54
    AUTH: Running with Privilege: [Change the system time]
    300 DATA s 68
    AUTH: Running with Privilege: [Remove computer from docking station]
    300 DATA s 73
    AUTH: Running with Privilege: [Impersonate a client after authentication]
    300 HEARTBEAT 1
    300 DATA s 16
    PLAT:Windows XP
    250 RESULT 0
    PING: internal loopback test complete
    260 EOR

意見

以上說明對您有幫助嗎?您可以在 Jazz.net 網站中提供意見(需要登錄):在討論區中提供意見提交錯誤