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
115
votes
21 answers

git - Server host key not cached

I try to push changes from my local repo to a remote repo. When I type: git push origin I get the following error: The server's host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The…
Rene Terstegen
  • 7,911
  • 18
  • 52
  • 74
77
votes
5 answers

Pageant does not load SSH-2 key generated with GitBash

The implementation of key handling with (Tortoise)Git for Windows confuses me. As far as I understood, you can implement with either ssh.exe (gits own ssh program), where you can then choose an ssh key per host in your ssh_config in the 'faked' home…
atripes
  • 1,683
  • 4
  • 20
  • 23
50
votes
6 answers

Configure Git to use Plink

I'm trying to configure Git to use Plink. It worked for me many times before. Now, for some reason, this option isn't available to me (it is disabled): I tried uninstalling and reinstalling Git a hundred times. Nothing. I can't get to this option…
Terminal58
  • 547
  • 1
  • 4
  • 6
33
votes
1 answer

How to submit Plink "Access granted. Press Return to begin session" prompt automatically

I'm writing a simple Windows batch script to allow me to execute some Linux command on my remote server with the help of plink.exe. call set argument1=plink -pw mypwsswd username@172.19.48.111 cd ~/project; make clean; make -j8 call plink…
Yves
  • 11,597
  • 17
  • 83
  • 180
33
votes
2 answers

"StandardOut has not been redirected or the process hasn't started yet" when reading console command output in C#

Thanks to @user2526830 for the code. Based on that code I added few lines to my program since I want to read the output of the SSH command. Below is my code which gives an error at line while StandardOut has not been redirected or the process…
WoodyStory
  • 471
  • 1
  • 4
  • 9
32
votes
9 answers

How to solve TortoiseGitPlink Fatal Error?

I was using Git with beanstalk in windows 7. Now I got new system with Windows 8.1. Now I configured Git and Tortoisegit with new system.Its working fine in local commit but when I pushed to live I got error: Disconnected: No supported…
SDF
  • 1,291
  • 1
  • 10
  • 13
12
votes
2 answers

get return code from plink?

In a DOS batch script, I'm running a single command on a remote (also windows) computer using plink. Formerly, this command was only run on the local machine, and was relying on the return code to determine success. Is there a way to easily get…
Nate
  • 12,499
  • 5
  • 45
  • 60
11
votes
2 answers

Plink does not source bashrc or bash_profile on connect

I am trying to use plink as an ssh alternative on windows, but I am finding that when plink connects to a remote linux machine, it does not source .bash_profile or .bashrc. Is there a different dot file I should create? Or is there another…
Charles
  • 3,734
  • 3
  • 31
  • 49
10
votes
3 answers

plink won't return to command prompt

I try to execute a bash script via plink. Script looks something like this: echo "@ Starting process..." ./bin/process "process.cfg" & disown %1 echo "@ Done!" When i execute this script in a terminal on linux, everything works fine. After the…
user3252141
  • 171
  • 1
  • 1
  • 6
10
votes
1 answer

Plink timeout and proxy under linux

I have made a script in bash which create a connection to a list of server. After each connection, if it succeed, i execute a command. Connections are under a loop. For know i use Plink. My script works, but it takes too much time when the server is…
Mageni
  • 101
  • 1
  • 4
9
votes
2 answers

Enable keepalives in Plink

We are using Plink for a tunnel to a MySQL. We are using it in this format: plink.exe -L [Port of our client]:[my-sql server host name]:3306 [bridge server ssh username]@[bridge server IP] -i [private key] We cannot find an option to prevent the…
Matioski
  • 117
  • 1
  • 2
  • 11
9
votes
1 answer

How can I use Powershell as my tramp-encoding-shell?

First I start up eshell then I enter the command cd /plink:@:/home/ then I get this error message Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. The command prompt has been…
John
  • 13,197
  • 7
  • 51
  • 101
9
votes
2 answers

git Connection abandoned, fatal: Could not read from remote repository

I'm trying to clone a repo in either cygwin or GitBash (msysgit) using Pageant for ssh keys. I get the following error: $ git clone git@github.com:username/your-project.git Cloning into 'your-project'... The server's host key is not cached in the…
chrisan
  • 4,152
  • 4
  • 28
  • 32
8
votes
3 answers

Using Plink (PuTTy) to SSH through Python

I am trying to write a python script that will SSH to a server and execute a command. I am using Python 2.6 on Windows, and have installed plink and paegent (for ssh keys) and added them all to my path. If I go to the command prompt and type: plink…
Jeff
  • 12,147
  • 10
  • 51
  • 87
8
votes
1 answer

plink Unable to open serial port

Configuration: Windows 7 putty 0.67 plink 0.67 Problem I am trying to use plink to open a serial port connection on COM9. Using PuTTY I can open the serial connection on COM9 and I have a saved session for that serial connection. The COM PORT…
Simon Peverett
  • 4,128
  • 3
  • 32
  • 37
1
2 3
28 29