2

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.

1 Answer 1

3

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.

Sign up to request clarification or add additional context in comments.

2 Comments

That throws me back to oct. 2008!
Thanks Von, I really appreciate your help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.