How to solve ssh: Could not resolve hostname : Name or service not known
這篇介紹How to solve ssh: Could not resolve hostname : Name or service not known。
解決方法:
將local IP和hostname加到/etc/hosts即可使用ssh hostname指令
$vim /etc/hosts
$source /etc/hosts
$ssh -p 12345 hostname