Questions tagged [plink]

Plink (PuTTY Link) is a command-line interface to the PuTTY back ends, written and maintained primarily by Simon Tatham. It is a connection tool similar to UNIX ssh. It is mostly used for automated operations.

Plink (PuTTY Link) is a command-line interface to the PuTTY back ends, written and maintained primarily by Simon Tatham. It is a connection tool similar to UNIX . It is mostly used for automated operations.

Useful Links

Do not use tag for question about a genetic association analysis toolkit written by Shaun Purcell at Harvard/MGH, which is largely used on genetic sequence data.

427 questions
-1
votes
1 answer

Wait for Plink -batch command to finish

I have a Python script (on windows box) that makes a call to a .bat file on the same Windows box. Right now I am using subprocess.check_call (Python 3.5) That .bat file makes a call to a Linux box using pLink. pLink uses SSH and a -batch stack of…
JB11
  • 273
  • 1
  • 2
  • 11
-1
votes
1 answer

Incomplete inputStream from plink under a Java Process

My question is related using plink.exe as a Java Process. This is inside the run() method of a Thread: Runtime r = Runtime.getRuntime(); Process p = r.exec("plink -ssh " + target_ip_address); InputStream in = p.getInputStream(); OutputStream out =…
-1
votes
1 answer

PLINK command executes but no file created

I have wrote a bash file so If an user select a specific option then on a linux server a specific .sh file will execute. For example: If a user presses 1: for %%? in (1) do if /I "%C%"=="%%?" goto print :print CLS start C:\tools\PLINK.EXE -ssh -pw…
DVLanleyC
  • 143
  • 1
  • 2
  • 8
-1
votes
2 answers

Use plink/ssh in a Batch

I try to connect from my local machine to a server with plink. From the server i need to connect to an other local mashine over ssh to perform some commands my try is: plink -load "puttyProfile" -pw password "ssh admin@address" which works. But now…
Olgidos
  • 231
  • 1
  • 14
-1
votes
1 answer

Unable to execute unix command using popen

I am trying to run the Unix command from Load Runner using popen. I tried step by step approach below are they Step 1 : I first tried logging into the Jump Server fp = popen("plink.exe -ssh -l username -pw password Servername", "r"); Output using…
user4021949
  • 243
  • 5
  • 13
-1
votes
2 answers

Command Prompt (cmd) is not executing Plink SSH Command

I am trying to execute a batch file (.bat) with the following commands in the batch file. I have a batch file containing the following; @ECHO OFF cmd.exe /K "cd C:\Program Files (x86)\PuTTY && C:" set PATH=%PATH%;C:\Program Files…
RJGA
  • 17
  • 1
  • 7
-1
votes
1 answer

plink - dealing with special charters in password

All, I have a script that is using plink to connect to ~300 routers. I last used it to update a password for an admin account. Short is, password containing ! is failing. I can SSH to the router with the password containing ! just can't connect…
user547352
  • 49
  • 2
-1
votes
1 answer

Plink is showing permission denied error

I am able execute a sh file using PuTTY. But when I try to execute the same in plink it's throwing a permission denied error. I am able to execute basic command like la - let or PWD and more using plink. But only sh files are throwing permission…
-1
votes
1 answer

Why does plink have an issue with brackets?

I'm trying to use plink to run a pl/sql package on a remote service running the ksh shell. I can connect and everything is fine but I cannot pass a ( bracket to plink without ksh throwing up an error. When I type this from a dos command…
theObserver
  • 127
  • 2
  • 11
-1
votes
1 answer

Java PuTTY open saved session

New to Plink, I am trying to load a saved session from putty using Plink, my session is called "saved session1" and when I load and run the session and connect remotely to the server in PuTTY I am first asked for "login as:" and then for…
user3545370
  • 205
  • 1
  • 4
  • 16
-1
votes
1 answer

Plink > didn't return newline carriage

this supposed to be very basic. I'm running plink from windows and want to get some output to a file plink 192.168.229.128 -ssh -l root -pw password runsql.sh > result.log the runsql.sh output is something…
joeyy27
  • 21
  • 1
  • 7
-1
votes
1 answer

Regarding license of plink/pscp/awk

My Windows application uses PLINK/PSCP and awk, and it just uses those binary out side of the Application. Just calling. I see PLINK/PSCP is under MIT license, so no issue to use that, and no need to make my App public. What about awk utility? Is it…
Sigularity
  • 917
  • 2
  • 12
  • 28
-1
votes
2 answers

Sending complex, multi-line command via plink to Cisco Router =Unexplained behavior

I'm trying to get the below part of the code done in a relatively condensed fashion (to plug in to a much bigger script). I don't have any problems sending multiple commands this way. However, there's something that's causing the multi-line…
MKANET
  • 573
  • 6
  • 27
  • 51
-1
votes
1 answer

how to plink execute cmd

I have to use plink to execute cmd to unzip file by using a 7z.exe at remote desktop C:\windows\system32>C:/E2EPerformance/tool/PROD/STCP/BreadcrumbCollector/binary/plink.exe -ssh -l admin -pw pass IP cmd.exe /c cd 7z.exe x…
Aoon
  • 21
  • 3
-1
votes
1 answer

run local python script from remote linux machine over ssh

I'm trying to run a python script on a remote linux machine accessed by ssh(putty). I want to change/access directory to the windows directory and run a program which converts files on the server to csv and saves them to the server. Is it possible…
rokman54
  • 161
  • 1
  • 3
  • 15
1 2 3
28
29