Questions tagged [plink]

Plink, or PuTTY link, is a command-line connection utility (similar to SSH) that enables you to automate operations like file transferring and supports several protocols.

29 questions
30
votes
5 answers

Auto-storing server host key in cache with plink

I've been trying to issue commands using plink to retrieve information from my external server. Note that these plink commands are run from a binary that expects no input from the user. Is there a flag that will allow me to override this error…
Tad Oh
  • 303
  • 1
  • 3
  • 5
4
votes
2 answers

How to use ssh hostkey from a Linux server with plink.exe on a Windows host?

I have Linux server running sshd. How to provide hostkey from the Linux server to plink.exe on Windows? e.g.: for running plink.exe -ssh -batch -m plink.tmp -hostkey ...
cnd
  • 125
  • 1
  • 9
4
votes
1 answer

SSH tunnel speed is very slow

I have remote server with Ubuntu Linux and I want to establish SSH tunnel with this server from Windows machine using PuTTY(plink). I have to use this method for getting access to some service on this server, because firewall is blocking all ports…
John Green
  • 95
  • 1
  • 2
  • 9
3
votes
2 answers

Git, plink, and cmd.exe: how do I set plink.exe to be verbose when used as GIT_SSH

How can I configure plink.exe to be verbose when run by git? The problem: on windows, using the command git.cmd clone git+ssh://user@host/repo folder when GIT_SSH=plink.exe intermittently fails across build slaves. I need to find the root cause, and…
Epu
  • 211
  • 3
  • 8
2
votes
1 answer

NFS drops out when .bat script is run

I have a .bat script that runs from a Windows 7 machine. Part of the script is to use plink to ssh into a Red Hat machine and run a couple commands. I have about 4 or 5 plink commands within the script. For example: plink -pw password -ssh…
Franklin
  • 131
  • 3
1
vote
2 answers

Connect to an SSH server over an HTTP proxy using plink and netcat

I'm trying to connect to an SSH server from a Windows PC behind a corporate HTTP proxy. The trick works under Debian using OpenSSH client with ncat from the nmap package, but it does not work under Windows with Plink 0.70 + Ncat 7.70…
Kenny Parker
  • 11
  • 1
  • 5
1
vote
1 answer

Log onto Windows AD Domain via SSH using private key

I would like to log into a windows domain from a linux box using a private key in place of username/password. I am using FreeSSH on the windows box and have no problems using keys for local accounts. I use plink to login to the windows domain and…
Jim
  • 173
  • 1
  • 9
1
vote
2 answers

What's the best way to telnet from a remote Windows PC without using RDP?

Three Networks: 10.1.1.0 - Mine 172.1.1.0 - My Branch Office 172.2.2.0 - My Branch Office's VOIP VLAN. My PC is on 10.1.1.0. I need to telnet into a Cisco router on 172.2.2.0. The 10.1.1.0 network has no routes to 172.2.2.0, but a VPN connects…
Rob D.
  • 233
  • 1
  • 3
  • 10
1
vote
1 answer

Piping a tarball from a unix server to a windows server via SSH

In a past life as a unix admin I would often remotely transfer files by taring them to stdout and piping that output through SSH. Sometimes I placed a "tar -xfp -" on the other end of the pipe as a way to transfer files with permissions. Today I…
Justin Dearing
  • 1,017
  • 10
  • 33
0
votes
0 answers

Change account password remotely via Plink

Here's my current predicament: I need to change the password to a user account on 2000 devices running Ubuntu 16.04. I want to do this remotely via Plink rather than SSH. On all these appliances, the username is TESTUSER and password is TESTPASS.…
DJPaul
  • 1
  • 1
0
votes
0 answers

Amazon EC2 Instance: local ssh tunnel refused by server - Connection failed - [Connection timed out]

I have a remote administration tool and I'm trying connect client PC to remote PC through an ssh tunnel (local port forwarding) with an Amazon Instance EC2. I receive this error message from Plink, after several attempts to connect (because the…
0
votes
1 answer

Jenkins is asking: do you trust this host, store key in cache

I installed Jenkins in our Windows Server machine and wanted to run some scripts that clones our private repo from bitbucket. In the script, all it does is to clone the repo in the appropiate directory. So in Jenkins, I created a job that executed a…
0
votes
2 answers

putty-tools issue, no output

I'm having an issue with putty tools latest version compiled from source. I have them working OK on some Red Hat server but not others; I'm getting no output on all the tools. Example: Working; [root@server1 dir]# /usr/local/bin/puttygen -t rsa -b…
0
votes
2 answers

Sending keystrokes using plink

I'd like to execute a set of commands on a cisco device: conf terminal ip scp server enable When performed manually using putty, this works fine. I'm trying to do the same using plink, but have been unsuccessful. Attempt 1 plink -ssh…
Fidel
  • 363
  • 1
  • 4
  • 18
0
votes
2 answers

Dumping command output from SSH session to procurve

I am trying to get information from the command "show mac-address" out of a collection of 12 procurve switches in 2 different locations all connected via fiber PTP. I want to import this into SQL for some scheduled reporting of statistics, movement,…
Sabre
  • 283
  • 1
  • 10
1
2