I wanted to start SSH server on Ubuntu 14.04 running on VirtualBox. I installed Openssh, sshd, etc., configured
sshd_config to listen on IP, which I see in
ifconfig and it is not working. I am starting
sshd on port 2222.
nmap <my-ip> gives:
PORT STATE SERVICE 80/tcp open http 2222/tcp open EtherNet/IP-1 8080/tcp open http-proxy
HTTP server started at 8080 works fine, so why
sshd service is not recognized? When I try to log in by
ssh as a client I see
"Could not resolve hostname : Name or service not known".