By didit
Hello, I am new in using Digital Ocean Cloud server I am using ubuntu 14.04 for host my multiple site. Firstly, I success for ssh connection. Then I installed My SQL, Phpmyadmin, apache and secure them using this way : https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-14-04 and, https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04
I logged out, then tried to access again with ssh connection and I got : ssh: connect to host 128.199.xxx.xx port 22: Connection refused.
I am using Ubuntu 14.04 in my dekstop.
Can anyone help me ?
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!
This comment has been deleted
Check your ports, run:
nano /etc/ssh/sshd_config
or
vi /etc/ssh/sshd_config
and you should see:
Port: 22
If it’s not “22”, but something like “2345”, then adjust your connection line. In Linux or OSX:
ssh -p 2345 your_username@your_droplets_ip_address
ssh -p 2345 root@123.123.123.123
Is your server even running ? Are you able to ping to your server IP ? Seems the SSHD service is shut down for some reason. A reboot to the server might help.
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.