script to run SSH command (from windows to LINUX)

Posted on 2014-08-21
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.

Question by:zmau
    LVL 61

    Accepted Solution

    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.
    LVL 1

    Author Comment

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

    LVL 61

    Assisted Solution

    Something like Select-File-Dialog or so. The rest is putty package.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
    This article will show, step by step, how to integrate R code into a R Sweave document
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    761 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

    10 Experts available now in Live!

    Get 1:1 Help Now