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