[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

script to run SSH command (from windows to LINUX)

Posted on 2014-08-21
3
Medium Priority
?
403 Views
Last Modified: 2014-09-01
Hi all,
I need to run a script from an XP machine to a LINUX machine.

The script should :
1) open a "Choose directory dialog".
2) copy files from the this directory on the XP machine to the Linux machine
3) run a script in the Linux machine at the end (one of the files being copied).
All of this should be activated VIA SSH (on top of Ethernet).

The script might run also on Win_7. does it make a difference ?
Do I need to install something on the Windows machine ?   I hope not.


Thanks
zmau
0
Comment
Question by:zmau
  • 2
3 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 1500 total points
ID: 40277345
1. Powershell does display dialogs
2. pscsp from putty can help
3. plonk from abovementioned package.

XP is EOL, so upgrade to Win7 and not plan it at later date.
0
 
LVL 1

Author Comment

by:zmau
ID: 40277359
Thanks (really).
Is there anyone who is willing to give the actual script (especially regarding step 1, and how to use it's result) ?

zmau
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 1500 total points
ID: 40277485
Something like Select-File-Dialog or so. The rest is putty package.
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses
Course of the Month18 days, 11 hours left to enroll

834 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