ssh: Could not resolve hostname test: nodename nor servname provided, or not known

$ ssh: Could not resolve hostname test: nodename nor servname provided, or not known

sshの設定ファイルを見直す。

$ sudo vi ~/.ssh/config
Host test
    HostName 11.111.111.11
    Port 22
    User test
    Identityfile ~/.ssh/test.pem

ユーザー名などは合っているか?