Gridscale tutorial: how to connect to my server via ssh?

You have just registered with gridscale? Not yet so much experience with virtual machines? You are just starting out in the public cloud space?
In this quick guide I will give you the answer to an essential question, which you definitely have to be able to answer:

How do I connect to my server?

Here in this article it is explained how you can create a connect to your gridscale cloud server. This is of course also valid for connecting to other servers, maybe you want to connect to your Raspberry PI or to a Dedicated Server. The common network protocol used to establish such a connection is briefly called "SSH" or also "Secure Shell. SSH is considered a secure protocol for establishing an encrypted network connection. The program you use to log in and execute commands on your remote machine is often referred to simply as ssh, but more accurately it is an SSH client.

In the following sections, I will show you briefly and concisely how to establish an SSH connection under Linux, Mac or Windows.

Linux& Mac

On Linux and Mac OS X you don’t need to install an additional SSH client. On both systems there is already the OpenSSH SSH client available. To get started you just have to start the terminal program.

1. Call terminal

You can easily find Terminal on the Mac by using the Spotlight search in the right corner or in the /Applications/Utilities/ directory.

On Ubuntu, click the Ubuntu icon in the menu bar and type Terminal in the search box.

2. Establish connection

In the next step you need the IP of the server you want to connect to.

Then execute the following command:

Replace "username" with an existing user account on your server. When you log in to your server for the first time and you haven’t created a non-root user yet, you log in as user "root" to. "IP address" you replace with the IP from your server.

For example, you would login with the root user on the server with the IP address 177.0.01 login:

Confirm the command with Enter to establish the connection.

Optionally after running the command you are still asked to confirm the credibility of the host, if everything looks OK confirm with "yes" to connect or "no" to cancel.

Depending on whether you use an SSH key or password, you will be asked for your user password in the last step.

That’s it! If you now enter a prompt similar to "[email protected]:

#", you are connected to your server via SSH. When you are done you can close your active session with "exit" exit again.

Connecting servers via SSH under Windows

Unlike Linux and Mac, there is no pre-installed SSH client available on Windows. A very common SSH client is the program PuTTy.

1. Establish a connection with PuTTy

To start a simple SSH session, open the program and enter the IP address of your server under "Host Name (or IP address)", all other settings can be left untouched. After that you click on "Open" to establish the connection.

Gridscale tutorial: how to connect to my server via ssh?

After the click a new window opens, username and password are requested.
If you are connecting to your server for the first time and you haven’t created a non-root user yet, you log in under the username "root" + the corresponding password A.

Done! Again, you should now create a prompt similar to "[email protected]:

#" see. and you have established an SSH session to your cloud server. With "exit" you can end the active session again.

Conclusion

After learning how to connect via SSH, you now have the full control over your cloud server. What you do with your server is up to you. The command line is a powerful tool, with which you have much more control than with a GUI. The best thing to do is to explore the file system of your server or install a program that interests you. With the help of our tutorials from the gridscale developer community, it’s not that hard&

Like this post? Please share to your friends:
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: