Connect To Another Computer

Asked by prasad.ram

Hi
I am prasad i am using ubuntu 12.04LTS i would like to access my friend's terminal over internet.He is using ubuntu 10.04.I want to access his terminal in that i want to execute some commands.For that i do ssh,telnet,vcn,remmina.
so can you please tell me what are the necessary requirements for accessing his terminal on two systems.And what is the sufficient protocol to access his terminal?Tell me step by step process
Thanks in advace

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thomas Krüger (thkrueger) said :
#1

Use SSH. To do so, install openssh-server on your friends machine and connect to the machine like:

ssh user@host

Where user is your username on that machine and host is the hostname or the IP of the remote machine.

Revision history for this message
prasad.ram (prasad-ram126) said :
#2

In my system i already installed openssh-client,openssh-server.In my
friend system he installs openssh-clinet
and i also tried which you said as above.
but it says like connection timed out.

On 23 October 2013 16:51, Thomas Krüger
<email address hidden> wrote:
>
> Your question #237892 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/237892
>
>     Status: Open => Answered
>
> Thomas Krüger proposed the following answer:
> Use SSH. To do so, install openssh-server on your friends machine and
> connect to the machine like:
>
> ssh user@host
>
> Where user is your username on that machine and host is the hostname or
> the IP of the remote machine.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/237892/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/237892
>
> You received this question notification because you asked the question.

Revision history for this message
Thomas Krüger (thkrueger) said :
#3

To make that more clear: The server has to be installed on the system you are connecting to (aka. your friends system). Also the server has to be accessible to you, no firewall etc.

Revision history for this message
prasad.ram (prasad-ram126) said :
#4

He is using Ubuntu 10.04 in that when he is try to install openssh-server
it gives error .so i installed openssh-server on my system.So according to
now he can access my system.And please tell me what you mean be "no
firewall". Because in windows there are some settings related to
firewall.But in ubuntu i don't know so please tell me what are those
settings.

On 24 October 2013 11:16, Thomas Krüger <
<email address hidden>> wrote:

> Your question #237892 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/237892
>
> Status: Open => Answered
>
> Thomas Krüger proposed the following answer:
> To make that more clear: The server has to be installed on the system
> you are connecting to (aka. your friends system). Also the server has to
> be accessible to you, no firewall etc.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/237892/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/237892
>
> You received this question notification because you asked the question.
>

Revision history for this message
Thomas Krüger (thkrueger) said :
#5

Well, if he has not configured anything special that thing with the firewall is not a problem.
It would also be very helpful if you post the exact error from the installation here, so we can assist to resolve it.

Revision history for this message
prasad.ram (prasad-ram126) said :
#6

Hi
After two days we tried to install openssh-server on his system it
successfully installed i don't how?.
Now in both systems we have openssh-server and openssh-client .so we
tried using
ssh username@ipaddress
but it gives error like

ssh: connect to host 10.128.93.226 port 22: Connection timed out
So now what can i do?
Thanks in advance

On 24/10/2013, Thomas Krüger <email address hidden> wrote:
> Your question #237892 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/237892
>
> Status: Open => Answered
>
> Thomas Krüger proposed the following answer:
> Well, if he has not configured anything special that thing with the firewall
> is not a problem.
> It would also be very helpful if you post the exact error from the
> installation here, so we can assist to resolve it.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/237892/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/237892
>
> You received this question notification because you asked the question.
>

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
prasad.ram (prasad-ram126) said :
#8

let me what is the solution

On 15 November 2013 14:56, Launchpad Janitor <
<email address hidden>> wrote:

> Your question #237892 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/237892
>
> Status: Open => Expired
>
> Launchpad Janitor expired the question:
> This question was expired because it remained in the 'Open' state
> without activity for the last 15 days.
>
> --
> If you're still having this problem, you can reopen your question either
> by replying to this email or by going to the following page and
> entering more information about your problem:
> https://answers.launchpad.net/ubuntu/+question/237892
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

The IP adress 10.128.93.226 is within the IANA-defined private address range that cannot be reached from other parts of the internet http://en.wikipedia.org/wiki/Private_network That means that there is no way to reach your friend's computer with that address from somewhere else in the internet, just from other computers inside the local area network of his computer.

Are you in the same LAN as he is, or not?

Revision history for this message
prasad.ram (prasad-ram126) said :
#10

No we are not in the same LAN.He is using USB Modem so he got the ip
address from mobile operator and i got the ip from my ISP.So at last if we
can't connect using private address can you know how can we get public
address.

On 18 November 2013 14:41, Manfred Hampl <
<email address hidden>> wrote:

> Your question #237892 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/237892
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> The IP adress 10.128.93.226 is within the IANA-defined private address
> range that cannot be reached from other parts of the internet
> http://en.wikipedia.org/wiki/Private_network That means that there is no
> way to reach your friend's computer with that address from somewhere
> else in the internet, just from other computers inside the local area
> network of his computer.
>
> Are you in the same LAN as he is, or not?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/237892/+confirm?answer_id=8
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/237892
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

Maybe you can use teamviewer

Can you help with this problem?

Provide an answer of your own, or ask prasad.ram for more information if necessary.

To post a message you must log in.