摘要: ssh是远程登录命令,-l选项是最常用的选项,下面是我的一些总结 远程登录:ssh -l userName ip 执行远程命令(不登录):ssh -l userName ip command 更多的情况是,command处为一个shell脚本,而配合expect spawn 一起使用,效果是最好的, 阅读全文
posted @ 2016-04-10 20:48 快乐菠菜 阅读(26322) 评论(0) 推荐(0) 编辑