remote

How can I automate running commands remotely over SSH?

I've searched around a bit for similar questions, but other than running one command or perhaps a few command with items such as: ssh user@host -t sudo su - However, what if I essentially need to run a script on (let's say) 15 servers at once. Is this doable in bash? In a perfect world I need to avoid installing applications if at all ...

mysql import sql via cli from remote server

i know how to import an sql file via the cli: mysql -u USER -p DBNAME < dump.sql but that's if the dump.sql file is local. how could i use a file on a remote server? ...

java.net versus java.nio

At what point is it better to switch from java.net to java.nio? .net (not the Microsoft entity) is easier to understand and more familiar, while nio is scalable, and comes with some extra nifty features. Specifically, I need to make a choice for this situation: We have one control center managing hardware at several remote sites (each s...

Looking for software to remotely control iTunes from PC

Looking to control iTunes on home network from other computers. This client should work on Windows XP, and be able to control iTunes running on XP or Vista. My initial searches at Google only turned up projects from 3+ years ago. And I'm not really sure which method is the best. Thanks ...

Direct3D over Remote Desktop

How can I get Direct3D to work over a Remote Desktop connection? I am using Windows XP Professional. ...

Loading a list on an EJB

I have a remote EJB with a method that validates an object (returning true or false). I want to be able to pass it an ArrayList object and have the EJB load it with the errors encountered during validation, while still receiving true/false as result. How can I do this? So far, I can send it the list, and it's affected on server side, bu...

Print from a windows App - data from an Oracle DB on Linux

We have an Oracle DB running on Linux. When data is ready to report, a value is placed in a table in the DB. Presently an app is scheduled to run every 10 seconds to check for the value and if it's there it prints out the report. NOT prety. How can I make this pretty? I sort of envision the Oracle DB somehow triggering the windows s...

Connecting from Linux to Windows to perform a task

I've been asked to find a way to connect from a Linux system to one of several Windows servers. What we need to do ideally is connect to whatever Windows server is causing the trouble, kill a process, and restart the process. Ideally, it would be something that could be put into a script that could be run from the Linux computer. All ...

Remote Unix Terminal Key Mapping

This has always bugged me. When I ssh or telnet to a Unix server (whatever flavour) it always manages to guess correctly the terminal type I am logging in from and so the keyboard always acts 'normally' ... i.e. the backspace key works. But then when I have successfully logged in, it often guesses incorrectly the terminal type I am usi...

Remote Debugging for .NET WPF Application via Visual Studio 2008 Remote Debugger ?

Remote Debugging for .NET WPF Application via Visual Studio 2008 Remote Debugger can this be done ? I see native only in the options ? Any help please... ...

How do I fix missing git remote details?

Some repository clones I have allow me to do this: % git pull % git push But other repositories require me to type: % git pull origin master % git push origin master I think I am missing something in the latter case - does anyone know what is (not) going on here? I am using the latest git version, just obviously not using it well....

Authenticate and GetRoles of ActiveDirectory users in a disconnected WPF application via MembershipProvider

Hello, I have a project requirement where I need to authenticate against ActiveDirectory in a remote/disconnected WPF application. There is probably several ways to attempt to do this, but what would be the best approach using ActiveDirectory's MembershipProvider? I need to: Authenticate that the user exists. obtain the AD user's gr...

Simple protocol for remote process startup/shutdown

I'm looking for a simple protocol to control remote processes from one managing application. The remote processes will run on Windows and Linux (x86). Is there a simple protocol for managing remote processes, for which I could find daemons that run on both Windows and Linux? ...

Best way to cancel a slow loading remote JS call

I have a remote JS that must appear in the head of the document. If the server is slow to respond or inaccessible, obviously this slows or prevents the page from loading. I have been searching for a simple way to set a limit of say 3 seconds (probably less) for it to give up and simply not load the functionality. Does anyone have a si...

Problem connecting to a remote database using hibernate

I'm trying to connect to a remote database (hosted on Netfirms www.netfirms.ca if anyone is curious) using hibernate. My mapping file is as follows: <hibernate-configuration> <session-factory> <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> <property name="hibernate.connection.url">jdbc:...

Responsive lightweight remote GUI connection

Currently I know several methods of connecting to a GUI remotely, or running GUI applications remotely: Microsoft Terminal Services (only works for remote windows; installation); VNC (it's slow); XDMCP (requires a remote X server running, has no session persistance); Local X as remote DISPLAY for applications (best solution, but - no s...

Sending data from a page on one server, to another remote server. Language not dependant.

I'll try to keep this short and simple. I haven't begun writing the code for this project yet, but I'm trying to work out the pre-coding logistics as of right now. What I am looking to do, is create a method of sending data from one/any site, to another remote server, which would generate a response for the user requesting the data be s...

NAnt/NAntContrib 'VB6' failed to start on remote build

Background I'm putting together a Continuous Integration system at work on two VMs running on my local desktop. VM #1 (Toolbox) is running CruiseControl.Net, Subversion, BugTracker.Net and SQL Server Express. VM #2 (BuildMaster) is running NAnt with NAntContrib and has VB 6.0 and the 1.0/1.1/2.0/3.5 .Net Framework SDKs installed. The in...

Track all remote git branches as local branches.

Tracking a single remote branch as a local branch is straightforward enough. $ git checkout --track -b ${branch_name} origin/${branch_name} Pushing all local branches up to the remote, creating new remote branches as needed is also easy. $ git push --all origin I want to do the reverse. If I have X number of remote branches at a s...

Windows Disk Cloning vs Automatic installation of servers

During development , testing, and deployment, I have a need to fully automate a windows 2003 server setup. I'm trying to find the best way to automatically delpoy a server, which installs the OS, software dependencies that I have (for example SQL server, .net framework + my own application code). From what I've found , there are two ap...