简体   繁体   中英

Cannot SSH to Oracle Cloud Instance

Goal: Trying to access Oracle Cloud Instance from Mac terminal.

SSH Command I am using:

ssh –i <private_key_file> username @ public ip address of instance

And it gives:

Error:  ssh: Could not resolve hostname ?\200\223i: 
        nodename nor servname provided, or not known

I am following this manual:
https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/accessinginstance.htm

Any help would be appreciated.

When you follow the tutorial which includes:

ssh –i <private_key_file> <username>@<public-ip-address>

Make sure you do not use the long in –i , but type manually the regular minus ' - '

A long dash has an octal escape sequence of \342\200\223 , which could explain the \200\223 you see in your output.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM