August 30th  2021 - Guides

Tutorial: Connection to a remote server

It can happen that you encounter some difficulties to connect remotely (in SSH) on your managed server. When a server refuses the connection, a not always clear message is sent to you. This article will help you to clarify some of these messages and will help you with the steps to follow to be able to connect to your server.

It can happen that you encounter some difficulties to connect remotely (in SSH) on your managed server. When a server refuses the connection, a not always clear message is sent to you. This article will help you to clarify some of these messages and will help you with the steps to follow to be able to connect to your server.

Below, you will find some classic messages you may encounter with examples of solutions to fix the error.

Below, you will find some classic messages you may encounter with examples of solutions to fix the error.

« Timeout »

Error message

Timeout

Explanation

This message indicates that your SSH connection software or SSH client did not receive a response from the server quickly enough. Most of the time this means that the firewall of the destination server does not allow your IP address to connect.

This message indicates that your SSH connection software or SSH client did not receive a response from the server quickly enough. Most of the time this means that the firewall of the destination server does not allow your IP address to connect.

Solution

Ask your server admin* to authorize your public IP address, which you can find by visiting https://monip.aquaray.com

Ask your server admin* to authorize your public IP address, which you can find by visiting https://monip.aquaray.com

Key refused

Error message

Key refused

Explanation

The SSH key you are trying to connect with is not authorized to the user you are trying to connect with.

The SSH key you are trying to connect with is not authorized to the user you are trying to connect with.

Solution

Contact your hosting provider to authorize your SSH key. For more information, we invite you to read our dedicated tutorial article

Contact your hosting provider to authorize your SSH key. For more information, we invite you to read our dedicated tutorial article

« Connexion refused »

Error message

Connexion refused

Explanation

This message means that the connection attempt of your SSH client has been refused by the server. There are several possibilities, here are the most frequent ones:

This message means that the connection attempt of your SSH client has been refused by the server. There are several possibilities, here are the most frequent ones:

  • Either no SSH server is listening on the destination port (usually port 22);
  • Either an automatic blocking system (like fail2ban) has banned you for a few minutes after too many connection errors.

Solution

In the first case, you should contact your IT manager to describe the problem. It is possible that the SSH server is not working, not well, or that you do not have the right connection information.

In the second case, the easiest thing to do is to wait about 15 minutes before trying again. If it still doesn't work, your infomanager will know how to correct the situation, so you should contact him and perform live connection tests.

In the first case, you should contact your IT manager to describe the problem. It is possible that the SSH server is not working, not well, or that you do not have the right connection information.

In the second case, the easiest thing to do is to wait about 15 minutes before trying again. If it still doesn't work, your infomanager will know how to correct the situation, so you should contact him and perform live connection tests.

Other

For any other error message, we advise you to contact your IT manager and send him a copy of the error message. If possible, try adding at least one level of verbosity (-v parameter of the SSH command) to give him more information.

For any other error message, we advise you to contact your IT manager and send him a copy of the error message. If possible, try adding at least one level of verbosity (-v parameter of the SSH command) to give him more information.

*Server admin: provider in charge of setting up, configuring and maintaining your computer server.

*Server admin: provider in charge of setting up, configuring and maintaining your computer server.

Contact us

Contact us

Any question ? A doubt ? A particular request ? Do not hesitate to contact us by clicking on this button below, we will answer you as quickly as possible.

Any question ? A doubt ? A particular request ? Do not hesitate to contact us by clicking on this button below, we will answer you as quickly as possible.

Did you like this article? You might also like

Oct
2023

How to contact Aqua Ray Customer Support?

Guides

As an Aqua Ray customer, you may need fast and efficient assistance from our teams. Find out how to contact Aqua Ray customer support in this blog post.

Continue
Aug
2023

Tutorial: How to Set Up Your Email Client?

Guides

Just subscribed to Aqua Mail and wondering how to check your emails beyond the webmail interface? Interested in accessing your emails on your phone? In this article, we'll guide you through the steps to configure your email client on your computer and your phone.

Continue
Oct
2023

How to contact Aqua Ray Customer Support?

Guides

As an Aqua Ray customer, you may need fast and efficient assistance from our teams. Find out how to contact Aqua Ray customer support in this blog post.

Continue
Aug
2023

Tutorial: How to Set Up Your Email Client?

Guides

Just subscribed to Aqua Mail and wondering how to check your emails beyond the webmail interface? Interested in accessing your emails on your phone? In this article, we'll guide you through the steps to configure your email client on your computer and your phone.

Continue
Oct
2023

How to contact Aqua Ray Customer Support?

Guides

As an Aqua Ray customer, you may need fast and efficient assistance from our teams. Find out how to contact Aqua Ray customer support in this blog post.

Continue
Aug
2023

Tutorial: How to Set Up Your Email Client?

Guides

Just subscribed to Aqua Mail and wondering how to check your emails beyond the webmail interface? Interested in accessing your emails on your phone? In this article, we'll guide you through the steps to configure your email client on your computer and your phone.

Continue
Need assistance? Call us now!
Call us now! 01 84 04 04 05
Call us now! 01 84 04 04 05
DC Tier IV
AFNOR Certification ISO27001
AFNOR Certification HDS