Solved

control remote computers via ssh or other means

Posted on 2011-02-22
7
339 Views
Last Modified: 2012-05-11
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
Comment
Question by:brittonv
7 Comments
 
LVL 8

Author Comment

by:brittonv
ID: 34952264
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
 
LVL 5

Expert Comment

by:rysic
ID: 34953352
May be better solution will be ddns? Yoy can connect to clients wuth host names?
0
 
LVL 8

Author Comment

by:brittonv
ID: 34953385
Yes but then I would have to contend with Client site firewalls.
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 4

Expert Comment

by:jmnf
ID: 34953646
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
 
LVL 5

Expert Comment

by:rysic
ID: 34954660
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
 
LVL 5

Expert Comment

by:rysic
ID: 34954679
"Yes but then I would have to contend with Client site firewalls." well... firewalls need to be configured properlu... but it is normal.
0
 
LVL 6

Accepted Solution

by:
mohansahu earned 500 total points
ID: 34960083
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Strange html entity encoding by tidy 14 68
oracle query help 36 65
linux boot fsck problem 3 43
LINUX CENTOS + APACHE 9 31
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now