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.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
mia
  • 37
  • 7

1 Answers1

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.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250