随笔- 807
文章- 150
评论- 23
阅读-
151万
随笔分类 - Linux 9-1 脚本
Linux 服务器用户间ssh免密码登录
摘要:1、本脚本为服务器用户间密码互信登录脚本 2、依赖 需要安装expect工具 3、使用 sh CreateUserssh.sh hadoop hadoop /home/hadoop/.ssh 三个带入参数 1)用户名 2)密码 3)用户ssh密钥路径 4、脚本内容 #!/bin/bash####脚本
阅读全文