解决MAC OS系统找不到ssh-copy-id命令的问题
2012-12-11 21:38
651 查看
http://blog.csdn.net/bluerone88/article/details/7558648
解决Mac没有ssh-copy-id命令的问题:
使用以下命令代替ssh-copy-id:
cat ~/.ssh/id_dsa.pub | ssh hadoop@slave "umask 077; mkdir -p .ssh ; cat >> .ssh/authorized_keys"
FYI
This command will prompt you for the login password for user hadoopon slave,
then copy the public SSH key for you, creating the correct directory and fixing the permissions as necessary.
解决Mac没有ssh-copy-id命令的问题:
使用以下命令代替ssh-copy-id:
cat ~/.ssh/id_dsa.pub | ssh hadoop@slave "umask 077; mkdir -p .ssh ; cat >> .ssh/authorized_keys"
FYI
This command will prompt you for the login password for user hadoopon slave,
then copy the public SSH key for you, creating the correct directory and fixing the permissions as necessary.
相关文章推荐
- 解决SSH远程执行命令找不到环境变量的问题
- Mac OS ssh-copy-id Command not found 导致无法对目标服务器上传一个公钥的问题解决方案
- 编译.NET项目提示“找不到系统命名空间,请添加系统组件的引用”问题的解决方法(该组件已被该项目正确引用)
- 解决ssh远程执行命令无法使用awk/sed的问题
- linux学习之ssh-copy-id及其替代命令
- 解决 service、killall 等命令找不到的问题
- 解决Jstat命令找不到pid的问题
- 解决ssh远程执行命令无法使用awk的问题
- LoadRunner监控Windows系统“找不到网络路径”问题解决
- 《ssh-copy-id帮你建立信任》–linux命令五分钟系列之四十四
- SDK Manager 打不开, "系统找不到指定路径 " "Unable to access jarfile lib\archquery.jar"问题的解决办法
- ssh-copy-id命令详解
- 彻底解决安装win7、win8.1、win10系统出现“我们无法创建新的分区 也找不到现有的分区”的问题
- 五大Linux简单命令解决系统性能问题
- Maven项目pom.xml文件报xxx\target\classes\META-INF\MANIFEST.MF (系统找不到指定的路径)的问题解决?
- Ubuntu中使用SSHSecure Shell测试Windows与Linux系统间操作及传输问题解决大全
- jmap命令在linux系统执行不了问题解决
- linux下安装node出现的node命令找不到,express命令找不到的问题,解决方法。
- 解决META-INF\MANIFEST.MF (系统找不到指定的路径)的问题