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
8
votes
1 answer

What does CreateFile("CONIN$" ..) do?

I was hacking away the source code for plink to make it compatible with unison. If you don't know, unison is a file synchronization tool, it runs an "ssh" command to connect to a remote server, but there's no ssh.exe for windows; there's plink,…
hasen
  • 161,647
  • 65
  • 194
  • 231
7
votes
2 answers

PuTTY command line automate serial commands from file

I am trying to connect to a serial port and send a series of commands from a file. Firstly I have mananged to connect via the following: PuTTY.exe -serial COM3 -sercfg 57600,8,n,1,N E.g. I have a file called commands.txt with a series of serial…
Rob
  • 151
  • 1
  • 2
  • 11
7
votes
2 answers

Multiple commands using batch and Plink?

Hello I am trying to use a batch file to log into a server using plink, go to specific directory and run commands. I can not get this to work. Appreciate any help. plink -t -ssh root@111.111.111.111 -pw xxxxx cd…
Daniel A
  • 71
  • 1
  • 1
  • 2
7
votes
3 answers

Run shell script (with parameters) on Windows command line via Plink

I need to execute a shell script remotely inside the Linux box from Windows #!/bin/bash if [ "$#" -ne 1 ]; then echo "Illegal number of parameters" exit fi echo "$1" Here is the command I ran from Windows command prompt cmd> …
aaditya 1985
  • 71
  • 1
  • 1
  • 3
6
votes
4 answers

Rscript running trouble with TMPDIR via plink -ssh on Windows

I want to create my own variant of makePSOCKcluster and newPSOCKnode using ssh connection via plink. So, I rewrite code if (machine != "localhost") { rshcmd <- getClusterOption("rshcmd", options) user <- getClusterOption("user",…
Dmitriy
  • 847
  • 17
  • 39
6
votes
3 answers

Automating command/script execution using PuTTY

These are the things I need to do: Open putty.exe Enter username and password. Run a shell script. I am using UFT (VB Scripting). I am able to open PuTTY but not able to enter username and password or run any commands using UFT. Is there any other…
ManishPrajapati
  • 459
  • 1
  • 5
  • 16
6
votes
3 answers

Emacs, tramp, plink problem on XP

The target machine is running Ububtu server 8.04. Here's the tramp output: tramp: Opening connection for nungu@ip.ip.ip.ip using nil...
tramp: Waiting for prompts from remote shell
tramp: Waiting 60s for prompt from remote shell
tramp:…
YHVH
  • 585
  • 4
  • 12
5
votes
2 answers

Configuring msysgit to use putty/plink

Apologies in advance for the basic question - I'm new to git and am sure that I'm missing something super easy that someone could answer very quickly. During the msysgit installation I specified that I would like to use PLink instead of OpenSSH as…
rawb
  • 2,296
  • 18
  • 9
5
votes
1 answer

Send commands to SSH session in PowerShell and receive output in TextBox

I need to send a list of commands to several devices. For each IP, open an SSH-connection with the given credentials from User and Password textboxes, run all of the commands and return the output to the Output textbox. Normally I'd use plink.exe…
Mole
  • 53
  • 1
  • 6
5
votes
2 answers

Win7 : plink.exe: No such file or directory

I can git add. git commit -m "first commit" but cannot push git push -u origin master error: cannot spawn C:\Users\SEB\Downloads\plink.exe: No such file or directory fatal: unable to fork
niceseb
  • 493
  • 1
  • 4
  • 11
5
votes
1 answer

Sourcetree Git - SSH passphrase prompt

I have downloaded Sourcetree lately which comes with puttygen, plink and pageant. I have set up an SSH public and private key, with a non-empty passphrase. I was prompted for this passphrase when I added the private key to the Pageant key list.…
user3599231
  • 101
  • 1
  • 2
  • 5
5
votes
2 answers

sh: ...: is not an identifier when trying to invoke shell scripts using plink

Below is my shell script that I am trying to execute using PLINK on MachineB from MachineA(Windows Machine). #!/bin/bash export HIVE_OPTS="$HIVE_OPTS -hiveconf mapred.job.queue.name=hdmi-technology" hive -S -e 'SELECT count(*) from testingtable1' >…
arsenal
  • 23,366
  • 85
  • 225
  • 331
4
votes
2 answers

Get Mac-Address-Table from HPE Aruba Swtich with plink ssh

this is my code: @( ' ', #for "Press any key to continue" 'show mac-address' ) | plink -P 22 -ssh -v -l admin -pw pwd -batch Read-Host -Prompt “Press Enter to exit” sometimes i get this output: ←[1;13r←[1;1HSession sent command exit…
Elias
  • 125
  • 2
  • 22
4
votes
2 answers

Visual Studio 2017/2019/2022 git sync/pull/push/fetch operation stuck, and cannot be stopped

I initiate sync, fetch, pull or push from the 'Git Changes' tab in Visual Studio, but the operation just hangs, with no option to stop it. I have to hit the 'X' to close Visual Studio. If the operation is a sync it opens a modal dialog over…
MikeBeaton
  • 3,314
  • 4
  • 36
  • 45
4
votes
2 answers

error: waitpid for C:\Program Files (x86)\PuTTY\plink.exe failed: No child processes

I am trying to connect to a Codecommit server. I get the error below. Connection is from a Windows server. I do not get the error when I try will other similar machines. This was working fine at the start but developed this issue…
1
2
3
28 29