aspose file tools*
The moose likes Linux / UNIX and the fly likes Linux Remotely Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Linux Remotely" Watch "Linux Remotely" New topic
Author

Linux Remotely

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

At home I have an internal network consisting of some Windows Machines and 1 Linux machine that I use mainly for development of C/C++ and JAVA, Application Server, Web Server, and File Server.
What I am wanting to know is what tools can I use to possibly manage these services remotely. I know how to use telnet, ftp, etc, but wondered if anyone had any better suggestions.
Just looking for ideas, Thanks


GenRocket - Experts at Building Test Data
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

SSH is recommended over telnet on the Internet - just keep it patched. Telnet and FTP use unencrypted passwords.
It's not a bad idea to read up on SSH and its various wrapper services.
Some control functions I do are managed via a secure web interface, which has the advantage of being accessible through firewalls at the cost of requiring custom web apps to do the various functions.


Customer surveys are for companies who didn't pay proper attention to begin with.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I am going to find some links for SSH information, but if anyone has any links they would like to suggest, that would be great.
James O'Dell
Greenhorn

Joined: Apr 29, 2002
Posts: 16
Gregg,
Take a look at http://www.webmin.com
Jim
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Thanks James. That looks pretty interesting. I will be interested to find out what kind of security is included.
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
WinSCP is a good tool for SCP (Secure CoPy) if you maintain your home site from windows boxes.
http://winscp.vse.cz/eng/
Similarly PuTTY contains a very good windows-based ssh client.
http://www.chiark.greenend.org.uk/~sgtatham/putty/
The company I work for mandates the use of Windows OSes for all development so when I need to maintain my home boxes from work I use these two tools.
You can do the same from a linux command-line using the 'ssh' and 'scp' commands, check your manpages for all their command-line options.
HTH.
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
I should also add that both scp and ssh use the same port - that is, they both rely upon the sshd daemon running on your *n*x firewall/gateway (I'm assuming that is how you have set up your home network). Usually that's a default of port 22, depending on how you configure your linux box.
Yet another approach to this overall problem is to use a VPN setup. However, that's a more involved solution, potentially requiring more admin, so unless you need access to windows servers on your home network as well as your linux server I'd go with the sshd suggestion.
[ September 20, 2002: Message edited by: George Brown ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Linux Remotely