小编use*_*477的帖子

在 Mac OS X Lion 上编辑 /etc/hosts 以使用较短的主机进行 ssh-ing

我一直不得不打ssh myusername@somereallylonghost.numb3r5.ojd202nk.net很多字。我只想缩短该主机名,而不是别名。我尝试编辑我的主机文件以包含shorthost somereallylonghost.numb3r5.ojd202nk.net在底部,但是当我尝试以ssh myusername@shorthost. 谁能告诉我为什么?

hosts hosts-file macos

4
推荐指数
2
解决办法
1078
查看次数

标签 统计

hosts ×1

hosts-file ×1

macos ×1