Report this

What is the reason for this report?

How to change SSH @IP to something else

Posted on March 2, 2020
jouo

By jouo

I’m currently login to my remote server by doing: ssh root@IP

Is there a way to replace the IP part with something easy to remember? just so I don’t have to type the whole IP all the time

Thank you



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
0

Accepted Answer

Hi there @jouo,

What you could do is either to point your domain name to your Droplet and then you will be able to run ssh your_user@your_domain.com.

If you do not have a domain name you could edit your SSH config on your local PC and add a shortcut, you can take a look at this article here on how to do that:

https://scotch.io/tutorials/how-to-create-an-ssh-shortcut

Let me know if you have any questions! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.