-2
ssh root @[hostname] 
ssh: Could not resolve hostname root: Name or service not known

This is the error i'm receiving when i try to connect to the server. I'm using WSL Ubuntu on windows, i don't know why i'm recieving this error please help me. I'm using digital ocean and I'm on IPv4.

1 Answers1

0

Because you have a space between root and @ it thinks that root is the host you want to connect to. Eliminate that space.

lane.maxwell
  • 5,002
  • 1
  • 20
  • 30