我无法使用参数运行位于“admin”服务器上的远程 shell 脚本。
ssh koliwada@admin "~/bin/addautomaps $groupentry $homeentry $ticket"
“groupentry”和“homeentry”如下
user1:*:52940:OWNER-user1
user1 -rw,intr,hard,rsize=32768,wsize=32768 basinas01:/ifs/basinas01/home/&
该脚本位于管理服务器中的 ~/bin/addautomaps 中。
我看到错误,
tput: No value for $TERM and no -T specified
我还看到参数也没有正确传递。我也尝试过使用“ssh -t ...”,但这不起作用。