出问题了加权限提示
chmod: cannot access `777': No such file or directory
然后执行的时候提示
autossh.sh: line 3: spawn: command not found
couldn't read file "password: ": no such file or directory
autossh.sh: line 5: send: command not found
couldn't read file "#": no such file or directory
autossh.sh: line 7: send: command not found
couldn't read file "eof": no such file or directory
但是我expect装了
[root@nhd2 ~]# whereis expect
expect: /usr/bin/expect /usr/lib/expect5.43 /usr/share/man/man1/expect.1.gz
求指导这是咋回事?