要从命令行测试连接:
telnet hostname 5555
这个响应指示成功连接:200 HELLO - BuildForge Agent vversion_number.build_number
telnet hostname 5555username user name
password password
cmd ping
go
以下消息指示成功:
AuthOk["<user name>"]
如果上述测试工作,但是作业失败,且服务器测试显示用户认证错误,请检查可插入认证模块 (PAM) 配置。如果您看到类似于以下内容的消息,请继续下一步。AUTH AuthFail[*AuthUnknownUser,"<user name>"]
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