如何在Mac上安装ssh-copy-id? [英] How do you install ssh-copy-id on a Mac?

查看:142
本文介绍了如何在Mac上安装ssh-copy-id?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在尝试在Mac上安装ssh-copy-id时遇到麻烦.我已尝试遵循> https://github.com/beautifulcode/ssh-copy-id-for-OSX ,但是每次我运行ssh-copy-id都会给我错误.有关如何安装ssh-copy-id的任何想法?

I am having trouble trying to install ssh-copy-id on my Mac. I have tried to follow https://github.com/beautifulcode/ssh-copy-id-for-OSX but every time I run ssh-copy-id it gives me errors. Any ideas on how to get ssh-copy-id to install?

推荐答案

您可以使用自制软件安装

brew install ssh-copy-id

如果您不想使用Homebrew,则可以使用此Mac端口:

If you don't want to use Homebrew, you can use this Mac port:

curl -L https://raw.githubusercontent.com/beautifulcode/ssh-copy-id-for-OSX/master/install.sh | sh 

这篇关于如何在Mac上安装ssh-copy-id?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆