409 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
51
views
How to create a secure Login-Binary using plink with key
I'm writing a compact service-tool for Windows to sent to customers to log into our devices and execute a secure command. The customer himself should not be allowed to log in, but just using our tool, ...
1
vote
1
answer
326
views
Plink version 0.83 not using STDOUT or STDERR?
For SSH-connections I wrote a "wrapper" (to do automatic IP-address lookups etc.) and in the background it is using Plink.exe (the CLI version of PuTTY). This was working very well for a ...
0
votes
1
answer
155
views
Automate SSH Reboot Command [duplicate]
i got two grandstream ip phones that once in a while losing the pbx registration, only solution i came by is rebooting them (surprise surprise)
my idea for the simplest way to do it is by using ssh ...
0
votes
2
answers
387
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"
...
1
vote
1
answer
69
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.
...
0
votes
0
answers
570
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 ...
0
votes
1
answer
6k
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 ...
0
votes
1
answer
373
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....
1
vote
1
answer
96
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 ...
0
votes
1
answer
803
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"
$...
3
votes
4
answers
6k
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 ...
-1
votes
1
answer
426
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/...
0
votes
0
answers
85
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 ...
4
votes
2
answers
1k
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"
...
3
votes
1
answer
2k
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 ...