I am having difficulty connecting remotely to the ubuntu server from the mac terminal.
So far I have run:
sudo apt-get install openssh-server
when I try to connect via the ip address I get an error:
$ ssh root@*ip address*
ssh: connect to host *ip address* port 22: Connection refused.
How do I go about resolving this? Thanks in advance for your help
Note: I am not actually typing ip address. I'm just using this in place of my actual server ip address
sudo netstat -pant | grep ssh
– Ed Manet Sep 04 '14 at 18:21tcp6 0 0 :::22 :::* LISTEN 9288/sshd – John Smith Sep 04 '14 at 18:25
PermitRootLogin without-password
(meaning you won't be able to login as root using password-based authentication - that's assuming you have even enabled the root account of course). – steeldriver Sep 04 '14 at 18:57