LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to ssh remotely (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-ssh-remotely-4175563803/)

Marceljaff 01-13-2016 04:16 AM

How to ssh remotely
 
Dear friends,
First of all, thanks for all the responses I have gotten to my first question on this forum.
I am still new to linux. Here is another question.
I tried to ssh remotely using ssh root@<IP address> and it kept failing and timing out. A friend suggested that it was because I was in a different network. Please help!
Kind Regards!

pan64 01-13-2016 04:41 AM

sometimes root is not allowed to ssh, try another user.

berndbausch 01-13-2016 05:22 AM

Quote:

Originally Posted by Marceljaff (Post 5477324)
Dear friends,
First of all, thanks for all the responses I have gotten to my first question on this forum.
I am still new to linux. Here is another question.
I tried to ssh remotely using ssh root@<IP address> and it kept failing and timing out. A friend suggested that it was because I was in a different network.!

There are many reasons why this might fail.
I would start with:
  • Is the IP address reachable at all? Try ping ip-address.
    This is what your friend is suggesting.
  • Is the remote system set up for ssh access? This requires an ssh daemon or service running, and port 22 open in the firewall.

frankbell 01-13-2016 08:47 PM

To build on what berndbausch said, it may also require port-forwarding to the configured in the router at the target location.


All times are GMT -5. The time now is 12:50 AM.