Hot answers tagged remote
5
How is it possible to start processes that are actually visible on the
Windows machine?
A good start would be by creating the process in the session of the currently logged on user. That's usually session 1 if there's only one person logged on. If multiple people are logged on, it might be session 2 or 3 or 27. You'd have to run code in wtsapi32.dll ...
2
The following command works with XP and 7 initiated from 2003 server:
at \\remotecomputer time /interactive msg remoteuser /SERVER:remotecomputer This is the message
The remotecomputer is the computer where the message should appear and the remoteuser is the user logged into the remote computer (user who should see the message).
To clear all at commands ...
2
As @Zoredache points out, ssh relays the status of the remote command as its own exit status, so error detection works transparently over SSH. However, two important points require special consideration in your example.
First, curl tends to be very lenient, treating many abnormal conditions as success. For example, curl ...
1
You are likely already running a local MySQL server that's using port 3306.
You can just change the local port for the tunneling like so:
ssh -f -L 33306:localhost:3306 user@remoteserver -N
but of course you must point your local tools to port 33306 then.
Only top voted, non community-wiki answers of a minimum length are eligible