By mattrindia
I created a new droplet in SG. Not able to login through putty. It says connectin refused and gets shut down. I tried to ssh from another unix nstance with ssh root@128.XXX.XXX.XXX I got “Connection Refused” error Please help me resolve as working through console is very pain ful
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I tried the Ubuntu set up steps ate: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-12-04 The error I am gettin gis: Connection closed by 128.XXXXXXX
Is root Login enabled?
$ sudo nano /etc/ssh/sshd_config
PermitRootLogin yes
$ sudo service ssh restart
It should be enabled on your first boot but maybe they changed it to deny. If it is that go ahead and enable it, make a new account (say john), add him to the sudo group & try to login with that account. If it works you can then disable root login.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.