Skip to main content

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.

0 votes
2 answers
85 views

plink.exe "hanging" when used in PowerShell script

I have a script that removes files from a Linux server using PowerShell. The script suddenly stopped working and now it "hangs" when running this command: $file = "file_path" ...
Gerardo Hernandez Sanmiguel's user avatar
1 vote
1 answer
48 views

Resume in PowerShell 5.1 if exe doesn't finish

I am using a loop (ForEach-Object) in a PowerShell script to connect to different hosts via plink (PuTTY). plink -ssh $_ -l $user -pw $password -T -batch $command $_ is the IP address of the host. ...
Fabian Hagedorn's user avatar
0 votes
0 answers
50 views

How do I use plink to connect to a serial port with a named pipe address?

The putty is configurable via gui to simply connect to a piped serial port, but I can't find a command line way to do it on plink's documentation! Would like to provide a command line example that can ...
fett's user avatar
  • 23
0 votes
0 answers
240 views

Plink and powershell after successful login to server, enter command 1 and enter password after command 1

Newbie with coding, but doing my best, I believe I'm close. I'm able to successfully log into the server via plink and powershell, but I'm having issues passing further commands after the initial ...
Knockoutpie's user avatar
0 votes
1 answer
2k views

Paramiko - Authentication failed [duplicate]

When using paramiko for an ssh connection, an authentication error occurs. Using putty and openssh via command prompt the communication worked perfectly. When using paramiko. I tried simple and even ...
Alberto Lopes's user avatar
1 vote
1 answer
243 views

Send commands via serial connection using plink from bash script and exit

I'm writing a bash script on a Windows machine that enters a PetaLinux machine over a serial connection, performs some commands, and should exit back to the bash script to continue performing commands....
GibberGabber's user avatar
1 vote
1 answer
64 views

Trouble sending response in Windows Batch script using Plink for Linux appliance Interaction

I'm working on a Windows batch script that invokes plink to interact with a Linux-based virtual appliance. The goal is to send a command like set account name User1 and, in response, the server should ...
Ashwin Joshi's user avatar
0 votes
1 answer
325 views

Bypass first time Plink hostkey verification via PowerShell script

I have written a script as below $ipAddress = "10.10.10.10" $username = Get-Content -Path "path to user name" $password = Get-Content -Path " path to password" $...
meta's user avatar
  • 11
2 votes
1 answer
3k views

Sourcetree newer than 3.4.7 can't fetch/pull with a fatal protocol error: bad line length character

I'm using Atlassian Sourcetree for Windows, and after a recent upgrade, it stopped working with some of my repositories. The repositories are configured for passwordless access via SSH protocol (using ...
Alexander Sorkin's user avatar
-1 votes
1 answer
257 views

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] /Applications/Xcode.app/Contents/...
Mike Keskinov's user avatar
0 votes
0 answers
65 views

How to merge a BEDMatrix with a 'regular' matrix object in R

I am dealing with a new R object class for me, a BEDMatrix object. I have created a BEDMatrix from the standard plink files. Now I want to merge it with a regular matrix object in R. I have tried the ...
Qba Liu's user avatar
  • 73
4 votes
2 answers
627 views

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 <ip> -P 22 -ssh -v -l admin -pw pwd -batch Read-Host -Prompt “Press Enter to exit” ...
Elias's user avatar
  • 145
3 votes
1 answer
978 views

How to exit Plink (command line PuTTY) after sending command from PowerShell script?

I am communicating with a sensor via serial (COM port) connection. The sensor outputs data only when receiving a specific input string. I want to write a script to repeatedly send the input and save ...
yjaco's user avatar
  • 31
0 votes
1 answer
183 views

Set plink username per-host from git?

I have the following Git configuration file (I'm using plink because this host is configured with a TPMVSC-backed SSH key): # This is Git's per-user configuration file. [user] name = James ...
JamesTheAwesomeDude's user avatar
2 votes
2 answers
409 views

How can I do variable substitution in this putty plink echo command

I'm trying to break down the following plink command and modify it to allow a variable substitution. plink.exe 192.168.1.1 --% echo """#define MYSPACE""" > /home/my/...
Glen G's user avatar
  • 73

15 30 50 per page
1
2 3 4 5
29