{"id":2494,"date":"2015-02-23T10:15:17","date_gmt":"2015-02-23T08:15:17","guid":{"rendered":"https:\/\/upcloud.com\/global\/us\/resources\/tutorials\/connecting-to-your-server\/"},"modified":"2015-02-23T10:15:17","modified_gmt":"2015-02-23T08:15:17","slug":"connecting-to-your-server","status":"publish","type":"tutorial","link":"https:\/\/upcloud.com\/global\/resources\/tutorials\/connecting-to-your-server\/","title":{"rendered":"Connecting to your Cloud Server"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">After deploying a new Cloud Server you\u2019ll need to pick a method for connecting to it. This guide outlines your options for remote connection and the differences between them. Whether you choose to receive the server password via email, SMS, or only displayed at the control panel, get your password ready and read ahead.<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">SSH<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The primary way of connecting to a Linux server should be using&nbsp;an SSH client.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Unix<\/strong> systems include OpenSSH which you can use directly through your local terminal. Using OpenSSH to log in is very simple, the single command to start a connection consists of 3 parts, the application command <em>ssh<\/em>, your <em>username<\/em>, and your <em>remote host<\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open a&nbsp;terminal and type in the command below to log in using the root account. Replace the <span style=\"color: #ff0000;\"><tt>remote-host<\/tt><\/span>&nbsp;with the public IP of your server. Enter your root password when prompted.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@<span style=\"color: #ff0000;\">remote-host<\/span><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Windows<\/strong> users do not have a built-in solution for SSH, but there are options for Windows as well. <a href=\"https:\/\/www.putty.org\/\" target=\"_blank\" rel=\"noopener\">PuTTY<\/a>&nbsp;is one of the most commonly used SSH clients for Windows. It\u2019s easy to get started with,&nbsp;but also offers a lot of features for advanced users.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Download the self-contained executable and simply run it as is, no installation is needed. Enter your server&#8217;s public IP address in the Hostname field and click the Open button. Once connected, log in with the root user and password.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After connecting to your new Cloud Server for the first time it\u2019s recommended to create a new username for yourself and disable the root SSH login. Check out our article on <a href=\"https:\/\/upcloud.com\/global\/resources\/tutorials\/manage-linux-user-account-security\">managing Linux user account security<\/a>&nbsp;to learn more. You might also want to take a look at&nbsp;<a href=\"https:\/\/upcloud.com\/global\/resources\/tutorials\/use-ssh-keys-authentication\">using SSH keys for authentication<\/a>&nbsp;instead of a&nbsp;regular password.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/signup.upcloud.com\/\">Test hosting on UpCloud!<\/a><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Remote desktop connection<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Windows servers employ their own remote desktop connection that allows you to operate your Windows Server just like your own desktop. Windows users should have the Remote Desktop Connect client installed by default. It is also available for macOS in the Mac App Store&nbsp;as well as on most Linux distributions through open-source alternatives such as <a rel=\"noopener\" href=\"https:\/\/remmina.org\/how-to-install-remmina\/\" target=\"_blank\">Remmina<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When connecting, simply enter your server IP address and authenticated it with the username Administrator and the password generated at deployment. Most clients support a fullscreen desktop experience and allow you to save user credentials for convenience, granted that your computer is sufficiently secure and not shared by other users.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Console connection<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The third option is to use&nbsp;the HTML5-based web console at your <a href=\"https:\/\/hub.upcloud.com\/\">UpCloud Control Panel<\/a> with&nbsp;no browser extensions or setup required. Although you probably want to use SSH primarily, this is a useful addition in case of faulty firewall rules, OS error states, or any other reason that prevents the usual&nbsp;access methods.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open your server settings and go to the Console&nbsp;tab. Then simply click the button on the left to Open the console connection<em>.<\/em> Log in using root or any other username and password stored on your Cloud Server.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/console-connection-6.png\" alt=\"Console connection\" class=\"wp-image-5363\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Regardless of the server settings or network connection state, you should always be able to connect to a running server with the web console.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">VNC Console<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">UpCloud also offers optional VNC console access&nbsp;using your choice of VNC client. To enable a VNC connection, log in to your <a href=\"https:\/\/hub.upcloud.com\/\">UpCloud Control Panel<\/a>, open your server settings and go to the Console tab.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By default the VNC service is disabled on new servers, click the toggle switch to enable the VNC connection. Underneath that, you will find the connection details for your server. Here is where you can set the password for VNC and change the keyboard mapping. Click the Save changes button to update the settings when done.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note that while enabling\/disabling VNC console as well as changing the VNC password can be done with the Cloud Server running, changing the keyboard map will require the server to be powered down.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/vnc-settings.png\" alt=\"VNC settings\" class=\"wp-image-5362\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Some&nbsp;VNC clients only ask for the hostname of your server without a&nbsp;second&nbsp;field for the port number, simply enter both the VNC address and VNC port number together separated by a colon ( : )&nbsp; sign, for example, fi-hel2.vnc.upcloud.com:12345 to open a connection.<\/p>\n","protected":false},"author":3,"featured_media":27175,"comment_status":"open","ping_status":"closed","template":"","community-category":[283,247],"class_list":["post-2494","tutorial","type-tutorial","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/2494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/types\/tutorial"}],"author":[{"embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/comments?post=2494"}],"version-history":[{"count":0,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/2494\/revisions"}],"wp:attachment":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/media?parent=2494"}],"wp:term":[{"taxonomy":"community-category","embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/community-category?post=2494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}