Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. executing linux commands remotely using ssh and storing command output locally using vb script

executing linux commands remotely using ssh and storing command output locally using vb script

Scheduled Pinned Locked Moved Visual Basic
linuxtoolshelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    superselector
    wrote on last edited by
    #1

    Hi I want to establish a ssh connection to remote host and run some set of commands and store its output in text file. I want to do this in vb script. Plz help

    L 1 Reply Last reply
    0
    • S superselector

      Hi I want to establish a ssh connection to remote host and run some set of commands and store its output in text file. I want to do this in vb script. Plz help

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You probably already noticed that you'd either need a COM-object or an executable. I'd recommend using Putty.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      S 2 Replies Last reply
      0
      • L Lost User

        You probably already noticed that you'd either need a COM-object or an executable. I'd recommend using Putty.

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

        S Offline
        S Offline
        superselector
        wrote on last edited by
        #3

        Hi Thanks for your reply, I have achieved it by using plink.

        1 Reply Last reply
        0
        • L Lost User

          You probably already noticed that you'd either need a COM-object or an executable. I'd recommend using Putty.

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

          S Offline
          S Offline
          superselector
          wrote on last edited by
          #4

          Thanks i was able to execute commands through plink exe

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups