摘要: 近日在使用ssh命令ssh user@remote ~/myscript.sh登陆到远程机器remote上执行脚本时,遇到一个奇怪的问题: ~/myscript.sh: line n: app: command not found app是一个新安装的程序,安装路径明明已通过/etc/profile 阅读全文
posted @ 2017-08-04 16:09 ThinkVenus 阅读(720) 评论(1) 推荐(2) 编辑
摘要: 在写这篇博客之前,我google了一堆相关文章,大都是说修改/etc/sudoers,然后NOPASSWD:指定的cmd,但是真心不管用,没有远程虚拟终端这个方法就是浮云,ubuntu10.04 server 亲测!! ssh执行远程操作 命令格式 [html] view plain copy ss 阅读全文
posted @ 2017-08-04 16:00 ThinkVenus 阅读(397) 评论(0) 推荐(0) 编辑