摘要: 方法一,在终端上利用ssh,不登录远程主机,直接发送重启命令ssh root@192.168.8.128 'reboot'方法二,在终端上利用ssh和here documentssh root@192.168.8.128 bash <<EOFrebootEOF这种方式在reboot的位置其实可以执行... 阅读全文
posted @ 2014-09-17 14:47 夜读春秋 阅读(15403) 评论(0) 推荐(0) 编辑