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
0 answers

How to pass a argument including double quotes in plink ( Windows )

Handling double quotes in Plink (Windows) is very hard. I need to send a argument including a double quote on both side but even though I tried lots of \", "\", "\"", I got several errors as following. plink.exe -ssh -l testacct -pw kajskldf…
Sigularity
  • 917
  • 2
  • 12
  • 28
2
votes
1 answer

Plink strips out double quote marks

I'm using PowerShell to remotely issue a command on a Linux server. I'm using plink to connect to the server. However plink strips out double quotes in the commands I want to run. This stops those commands from working. $user = "user" $password =…
2
votes
1 answer

Send Command to Bluetooth Serial using Putty/Plink

I have searchewd a few posts here, but I cannot find one that is exactly what I am looking for. In simple terms I am trying to send a character to my Arduino via bluetooth Automatically. I have tried both Putty and Plink, but neither work…
Webtron
  • 443
  • 2
  • 6
  • 18
2
votes
1 answer

Emacs TRAMP - find-file can't enter user

I've recently upgrading to emacs 24.5 with TRAMP 2.2.12. I use plink to access files on a remote server and am having trouble using the ampersand syntax shortcut to enter a different user than my default. Problem Executing: 'C-x C-f' /user@server:…
devshans
  • 75
  • 4
2
votes
2 answers

Plink SSH access through VBA Excel and terminating the cmd prompt

I have a macro written to go through a list of IP addresses and run SSH through the plink.exe. The IP's are for network security devices. The output, if SSH is accessible, will be "login as:" meaning that I can SSH to the device. The output from the…
NAC
  • 33
  • 1
  • 6
2
votes
2 answers

Execute a Linux application remotelly from PowerShell

I'm trying to execute a application console command (cslogin) on a Linux box from PowerShell. I used the SSH module from SSH.NET to access the Linux server. The following is a snapshot of my script, I'm able to establish the ssh…
MrTriniAvi
  • 21
  • 3
2
votes
4 answers

Error passing multiple commands to Cisco CLI via plink

I've gotten some help with an earlier part of this batch file, but now I'm having trouble with the final component. I've tried a few things with no success. I tried changing the CRLF to LF which did nothing. I also tried rephrasing the commands a…
Gearshock
  • 35
  • 2
  • 5
2
votes
1 answer

Automate mysqldump to local Windows computer

I'm trying to use plink on Windows to create a tunnel to a Linux machine and have the dump file end up on the Windows machine. It would appear that this answer would work and is the basis of my question. But trying it out and looking at other…
sam452
  • 1,281
  • 3
  • 20
  • 33
2
votes
1 answer

Capturing Plink output in C#

I am trying to use Plink to access information on a machine. I followed this tutorial: http://www.mindfiresolutions.com/Creating-a-SSH-connection-using-plink-PuTTY-via-C-application-1760.ph So far I am only using my program to just open up Plink,…
11clock
  • 61
  • 2
  • 6
2
votes
1 answer

Can't fire script with CFThread, CFExecute and Plink

I am needing to run a remote script on our network to import files. I have set up plink and have it working as needed if I run it manually. plink name@localserver -ssh -i myKey.ppk /home/here/scriptName.sh We are writing the code in ColdFusion so…
MinerB
  • 43
  • 4
2
votes
1 answer

Python raw_input doesn't work after using subprocess module

I'm using the subprocess module to invoke plink and run some commands on a remote server. This works as expected, but after a successful call to subprocess.check_call or subprocess.check_output the raw_input method seems to block forever and…
zmb
  • 7,605
  • 4
  • 40
  • 55
2
votes
2 answers

Connecting through plink and redirecting to file, not getting all the needed output in file

I'm using a batch file in Windows to connect to a Linux computer through SSH with plink to see if two certain files are up to date (they have to have today's date). The command I use in the Windows batch file to execute plink: plink.exe -ssh…
heffeque
  • 21
  • 1
  • 5
2
votes
0 answers

emacs tramp mode under windows 7, using plink method

I'm trying to get tramp working under emacs 24.3 (tramp version 2.2.6-24.3) on windows 7 and I'm almost there. I've got putty/plink installed and in the path. Here's what's in my .emacs: ;;; TRAMP for remote editing ;;; (require 'tramp) (setq…
Dave Braze
  • 441
  • 3
  • 14
2
votes
2 answers

Plink in batch script

@ECHO OFF SET filename=autoexec.bat FOR /R C:\ %%a IN (\) DO ( IF EXIST "%%a\%filename%" ( SET fullpath=%%a%filename% GOTO break ) ) :break ECHO %fullpath% Will give me a path with \\ in between. How to come up with only \ in…
asp
  • 649
  • 1
  • 6
  • 10
2
votes
1 answer

PuTTY connects but key refused when using Plink

I've created a PuTTY session using a private key (no passphrase) that connects flawlessly from PuTTY . However, when I connect via Plink, loading the same session on the same machine, specifying the same username, I get the "No supported…
Brian Wilson
  • 29
  • 1
  • 2