• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 389
  • Last Modified:

control remote computers via ssh or other means

Is there any way that I can control a remote computer connecting to my server ?

Here is what I am trying to accomplish.

If I install servers on remote sites and they need me to support them.  I want them to click a button/run a command that would connect to my server via ssh/telnet (or other console baised tech).  However via that connection I want to be able to control Their computer.

This way I don't have to worry about:

IP addresses as the 'clients' would be DHCP but the server has a static IP.
Firewalls, I don't have to worry about opening incoming ports on their server, etc.

Basically I am looking for something similar to "windows remote assistance" for Linux!

If it is possible, I would also like to be able to view an HTTP server running on their computers.

So as I type this out I am assuming I need to create some kind of VPN connection between the computers.  Am I correct or is there another way.

If a VPN is my only option, how do I create a VPN that I can connect back through where the 'client' IPs are dynamic.  
0
brittonv
Asked:
brittonv
1 Solution
 
brittonvAuthor Commented:
It seems one option for SSH control is Reverse SSH Tunneling:
http://www.howtoforge.com/reverse-ssh-tunneling

But that will not grant access to the remote HTTP session will it?
0
 
rysicCommented:
May be better solution will be ddns? Yoy can connect to clients wuth host names?
0
 
brittonvAuthor Commented:
Yes but then I would have to contend with Client site firewalls.
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
jmnfCommented:
Can you install Webmin? You can do a lot of stuff with webmin, it even has a terminal and ssh and you can access it through the web. usually through por https://localhost:10000 or anywhere if you allow it.

Also, i followed this guide a few months ago to bypass security for my brother (a teacher) in his school.
http://www.buzzsurf.com/surfatwork/

Good luck, hope it helps.
0
 
rysicCommented:
Hmmm... may be some script which via ssh connect to your host and write ip + host_name to some file?
Or some tunel with SSH can help...?
0
 
rysicCommented:
"Yes but then I would have to contend with Client site firewalls." well... firewalls need to be configured properlu... but it is normal.
0
 
mohansahuCommented:
Hi,

Through putty u can access the remote machine via ssh (OR )configure Virtual computing network(VNC).

 remote machine local IP address forwarding or Nat with a specific port for connecting   remotely.

VNC server configuration:-
•      
1.   Install vnc-server , if you don't have it installed.

2.      Edit /etc/sysconfig/vncservers as root.

Uncomment the line:

VNCSERVERS="1:put_the_user_you_will_log_in_as_here"

3.      chkconfig vncserver on

4.      Run vncpasswd and set the password.
5.      Now run vncserver. This will create the needed initialization files.
 6.      service vncserver start
7.      Unfirewall 5901 tcp to allow remote connections

9.      Connect from the remote machine using servername:1

Cheers,
MS
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now