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

send non-command string in plink

I am trying to use plink to send a data string to an embedded SSH server. If I log in using plink on the command line like so plink test2 -l admin and wait for the "Using username "admin" line, then just start typing the data string is transmitted…
Toby
  • 9,696
  • 16
  • 68
  • 132
0
votes
1 answer

No access to environment variables while remote compiling using Code::Blocks, plink and makefiles

I'm trying to set up Code::Blocks under Windows 7 Professional SP1 to work for remote compilation (using PuTTY link -> plink) on a linux server, but I am not much familiar with that topic. This is the manual I…
fondor
  • 153
  • 9
0
votes
0 answers

What is the best way to remotely check if a machine is windows or linux?

I don't know if this or Server Fault is the best place to put this question. I'm going to put it here since the method I'm describing is being launched via a PHP script. I want to remotely check from one machine on a network, whether another machine…
TinyGrasshopper
  • 2,190
  • 2
  • 17
  • 28
-1
votes
1 answer

Unable to connect with plink with public/private key's

I am able to connect with Putty with my public/private key without being prompted for the passphrase (or password). I have pageant running in the background. However, trying to connect with plink won't work (form the same windows machine) :(... It…
edbras
  • 4,145
  • 9
  • 41
  • 78
-1
votes
1 answer

XCode submission using altool is not working via plink

I have automation of submission of iOS apps to the AppStore. In Windows Machine the batch file executed: plink.exe -batch -pw [PASSWORD] [LOGIN]@[IP_ADDRESS]…
Mike Keskinov
  • 11,614
  • 6
  • 59
  • 87
-1
votes
1 answer

Plink and Cygwin

I am very new using Linux. I need to use some programs (plink; https://www.cog-genomics.org/plink/ and ldsc: https://github.com/bulik/ldsc) that are usually ran in Linux. I am a windows user and I have installed Cygwin to emulate Linux. However, I…
JuanJMV
  • 127
  • 6
-1
votes
1 answer

Colors not showing properly in Plink

I want to use the -pw parameter that is not included in the ssh, but plink does not handle the $TERM correctly as ←[46m←[30m are displayed instead of their respective colors. Is this fixable and if so, how?
-1
votes
1 answer

Scripting SSH to reboot GrandStream phones

I work with hundreds of stand-alone devices on our network that can be accessed via SSH. I'm using a GrandStream GXP2200 phone as an example here because it's the simplest to explain. Our GrandStream GXP2200 phones can be accessed via SSH and you…
benc
  • 19
  • 6
-1
votes
1 answer

Send command to "plink.exe" without using input file

I have the following command line that I use in a batch file: C:\my_folder\plink.exe 192.168.0.112 -P 6950 -raw -batch < C:\my_folder\string.txt > C:\my_folder\output.txt string.txt contains the string: GET VALUE The command line…
GavinD
  • 25
  • 8
-1
votes
2 answers

SSH Connection & Commands using PLINK with Powershell

I'm trying to create a simple script which run a command and send the output to a variable. this is the script: $output = &"\PLINK.exe" -ssh @ -pw "my command" the thing is the command im running is…
Current Redemption
  • 169
  • 1
  • 1
  • 11
-1
votes
1 answer

Putty Plink to download remote file not working

I am trying the putty plink and pscp commands from a windows batch file to download file from Linux server. For server#1, these commands works fine when the remote server has SFTP enabled(port will be 22 in the given command). For server#2, which…
user123
  • 11
  • 5
-1
votes
2 answers

loop in python not working for all line in text file

this code for get identity of mikrotik device. after run this code. only work for last IP lines in ip.txt 192.168.3.6 --> NET_6 192.168.3.8 --> NET_8 192.168.3.10 --> NET_10 import os filename = 'ip.txt' with open(filename, 'r') as f: for…
user2254798
  • 553
  • 2
  • 6
  • 17
-1
votes
1 answer

The commands runs and does what I want it to but still displays an error (in red highlight ) in Powershell

In powershell, I ran a command to stop and start the linux server. When I run the command to start the server, the command does what I want but also output an error. The displayed error: + CategoryInfo : NotSpecified: (Starting…
Sam Shurp
  • 57
  • 1
  • 5
-1
votes
2 answers

plink.exe - setting number of rows in terminal?

I'm trying to pull information off a switch using plink. The problem is it keeps trying to insert a "press space to continue" break that I don't seem to be able to turn off. I know that this break is inserted based on the number of rows in the…
FTBC
  • 11
  • 4
-1
votes
1 answer

How to solve PLINK "Unable to open serial port" issue in Jenkins job

On an Ubuntu Server, I was able to run this command manually: plink FEXT < remoteCmds.txt where FEXT is the connection session I have created previously. And what this full command does is: 1) to connect to a serial device 2) to have the…
user3595231
  • 711
  • 12
  • 29