I have a virtualbox on which I have installed ubuntu 12.04. My host computer is Mac OS (mavericks). I did a SSH key copy to my remote (which is ubuntu server and I call it myubuntu).
when I did
ssh username@myubuntu
ssh: Could not resolve hostname ubuntuhadoop: nodename nor servname provided, or not known
but when I tried:
ssh [email protected]
I was able to log in to the remote server (which is myubuntu).
why is it need that I give IP address it connects properply but not the servername.
I am not sure if this is possible. But I found in one of youtube tutorials.
ssh myubuntu
(NOT username@myubuntu)
and logged onto the remote server, without username. is this possible?