java连接linux执行命令时控制台报错:can not support udp mode

图片说明

正常情况:
图片说明

改成ssh链接,你要链接linux必须使用ssh协议,ssh属于TCP协议,UDP协议是不行的