LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-01-2012, 05:22 AM   #1
yochule
LQ Newbie
 
Registered: Sep 2007
Posts: 11

Rep: Reputation: 0
ssh connection refused ubuntu10.04amd64 no-ip


hi guys... i'll try to explain my problem, if someone of the moderators would like to change the thread subject it would be wellcome.
i have two computers: a notebook and a desktop, both with ubuntu10.04amd running and with ssh working on them.

i would like to control my desktop pc by ssh notebook. because i have dynamic ip, i have noip2 installed on the desktop pc. i've changed the 22 port to another one, and open it in the router.

when i try to connect, i go throught a neighbor network with my notebook. in the notebook's terminal:
~ssh -X -p xxxx dominio_de_no-ip.org
them password and i get the connection, it looks great.
so i start runnin some program, let's say matlab and the program does it take a loooong time to run. the connection freeze, and the program does not work till a long time. so i kill the terminal (i have not prompt to use the command line).

so, i try to connect again to desktop pc. in the notebook terminal:
~ssh -X -p xxxx dominio_de_no-ip.org
~ssh: connect to host dominio_de_no-ip.org port xxxx: Connection refused
but it does not work. i keep trying for some hours with this command but does not work, i'm not able to connect to desktop pc.

so, because i can sit down in front of my desktop pc, i look around to get the ip, and back to the notebook try this:
~ssh -X -p xxxx ip_just_founded
and now i can connect with the desktop.

so, the questions are: 1) it is normal that the applications take so much time to work through ssh? (it happend the same if i want to open a .doc with wine)
2) why i'm not able to get back the connection with dominio_de_no-ip? i can fix the problem because i can to to my desktop and figure out which ip it have, but if i would be in another place, i will not have acces to the desktop pc. and this is the idea to have ssh working!

so, i will be so glad if someone can help me with this...
kings regards and thanks in advance
 
Old 02-02-2012, 12:03 AM   #2
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
1) Use NoMachine to improve the speed
2) Use Hamachi and you'll always know the IP
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH - Connection Refused eminence Linux - Networking 15 02-11-2020 09:48 AM
SSH connection refused TheOrganist25 Linux - Newbie 17 10-09-2011 09:06 PM
SSH Connection Refused? lowpro2k3 Linux - Networking 2 11-04-2009 11:02 AM
SSH connection Refused gatesr494 Linux - Networking 5 01-05-2008 05:43 AM
ssh connection refused - trying to set up ssh server at home openSauce Linux - Server 10 10-18-2007 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration