SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Windows Script to Connect via SSH

  1. #1
    SitePoint Addict SirAdrian's Avatar
    Join Date
    Jul 2005
    Location
    Kelowna, BC
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Windows Script to Connect via SSH

    How can I set up a script or shortcut to run commands from a Windows XP machine on my CentOS machine over SSH?

    I am running a virtual CentOS (VirtualBox) machine containing my LAMP stack. I also have other tools like subversion, git, etc. on there that I wish to use. On my windows machine, I want to set up quick scripts like 'commit' and send my path with args. I also want to use it for running command line PHP scripts on the remote server.

    Any ideas?
    Adrian Schneider - Web Developer

  2. #2
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,424
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Git and PHP have windows executables, so you don't need to SSH to do that. Anyhow, best bet from the windows side is probably using powershell as it is far more advanced than what one could do in DOS.

  3. #3
    SitePoint Addict SirAdrian's Avatar
    Join Date
    Jul 2005
    Location
    Kelowna, BC
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looking into powershell - thanks.

    The reason I'm not doing it locally as I need to run everything from the other server environment.
    Adrian Schneider - Web Developer

  4. #4
    SitePoint Addict SirAdrian's Avatar
    Join Date
    Jul 2005
    Location
    Kelowna, BC
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Found what I was looking for: plink from putty
    Adrian Schneider - Web Developer

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •