正在尝试通过TCL脚本执行远程命令。对于其中一台远程计算机,在发出命令后没有响应。
Not working :
expect1.7> exec ssh -x -l root asr-bng-ubuntu "/usr/local/sbin/radiusd"
root@asr-bng-ubuntu's password: -->hangs here , but process is getting started in asr-bng-ubuntu
Same is working for diff server
expect1.8> exec ssh -x -l root bng-sql-1 "/usr/local/sbin/radiusd"
root@bng-sql-1's password:
expect1.9>发布于 2014-04-30 16:16:26
尝试检查远程主机上的.bashrc或.bash_profile,其中可能有一些错误,可能是一些长时间运行的调用。
https://stackoverflow.com/questions/23382049
复制相似问题