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
2
votes
2 answers

Read content from stdout in realtime

I have an external device that I need to power up and then wait for it to get started properly. The way I want to do this is by connecting to it via serial port (via Plink which is a command-line tool for PuTTY) and read all text lines that it…
Oskar Birkne
  • 803
  • 7
  • 18
2
votes
1 answer

plink Password Over and Over

I am using plink as part of GIT setup and I have setup my remote keys correctly and can connect via Putty. However, when I attempt to run msysgit and TortiseGit to clone a git directly - enter the path via c:\Program Files (x86)\puTTY\plink.exe I…
Nick
2
votes
1 answer

Not able to run psservice.exe and plink.exe from servlet deployed in Tomcat 6.0 using runtime exec and processbuilder

I am trying to run psservice.exe and plink.exe from servlet using runtime exec. It will be used for starting or stopping services on remote computer running windows and unix aix. I have set system variables so that i am able to run them from command…
Piyush_Chandra
  • 111
  • 1
  • 9
2
votes
2 answers

ssh to run shell script on remote machine and then copy the output to local machine

I am using plink to execute the shell script on the remote MachineB. And shell script is there on the MachineA(Windows Box). C:\PLINK>plink uname@MachineB -m test.sh Using keyboard-interactive authentication. Password: Using keyboard-interactive…
arsenal
  • 23,366
  • 85
  • 225
  • 331
2
votes
3 answers

Emacs + tramp + plink

I'm trying to get emacs tramp running under Windows XP to work over putty plink on an Amazon EC2 instance. The documentation for doing this is sparse. I can find partial documentation, but none that addresses all the steps required to get this…
Andrew Prock
  • 6,900
  • 6
  • 40
  • 60
1
vote
0 answers

Can't write in tcl command line unless sending echo, after using PLINK

I'm having a confusing problem running a variety of programs from a tcl script. Here's the story: I have a script (in tcl) which executes plink to establish a remote connection on a Linux computer. I basically use eval for calling plink, sending as…
JasonBourne
  • 165
  • 1
  • 3
  • 14
1
vote
0 answers

Pass extra command line parametes to plink in ANT CVS task

I'm trying to make plink use the private key using the commnand line -i instead of relying on pagent in a ANT CVS task. I tried to set the cvsRsh param to "plink.exe -i my_private_key" without success. It complains that program cannot be found. Of…
crisp2u
  • 78
  • 2
  • 6
1
vote
1 answer

Entering password to remote ssh through Plink after establishing a connection

I'm trying to establish a connection through Plink, after that I want to ssh user@server and then enter a password. I did the following: plink.exe -ssh user1@server_ip1 -pw password1 -t < "cmd.txt" in the cmd.txt there are the below commands (I…
1
vote
1 answer

Run command on server using Plink and keep it running after disconnecting

I have a Raspberry Pi which I use to play a video on a loop. I have a button which I use to end the video to display the desktop wallpaper which I have as a static image. To do this I use a simple Python script that launches omxplayer and loops…
salawinder
  • 11
  • 2
1
vote
2 answers

Using plink to write a file to a COM port and read back the response from the target

I want to send a list of commands to a device on my Windows COM port and receive the responses back for further processing. The target device accepts write commands and query commands. When I send a write command, nothing is returned. When I send…
Sanjo
  • 133
  • 14
1
vote
1 answer

Send commands via COM port using plink and exit

I need to execute one or more commands via COM port (from console) on an embedded Linux device. I am trying to use plink on a Windows machine but it doesn't work. I've tried different cases, one of them is: echo "mkdir /test" | plink -batch -serial…
kocmoc
  • 65
  • 1
  • 7
1
vote
2 answers

Piping input into Plink in Windows batch file adds extra line feeds

I'm trying to write a batch file to run in Windows 10 Pro that will use Plink to establish an SSH session to a remote server and execute some commands. Everything works well, except for whatever reason I end up with extra line feeds with each ECHO…
1
vote
2 answers

Cannot connect to server with Python ftplib, but PuTTY Plink works

Sorry, if this sounds too basic or if there is a duplicate which I haven't found during my search: For example, these were not helpful: Python ftplib WinError 10060 Python FTP cannot connect, but using client like FileZilla with same credentials…
theozh
  • 22,244
  • 5
  • 28
  • 72
1
vote
1 answer

plink serial from windows to linux does not echo password correctly

My Use case: I have a hyper-v host set up with linux guests. These linux guests have no ip set up initially on boot so I cannot ssh into them. I am trying to automate setup hence why I am trying to script the build without the use of using the GUI…
Aaron
  • 11
  • 1
1
vote
1 answer

Execute commands on remote server behind another server (jumphost) using Plink

I am trying to make an automation using Power Automate Desktop for PuTTY. I have come across a solution to use cmd to run commands using plink. I used the following steps: I added PuTTY to system variables I used the command (in cmd): plink -ssh…