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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
60 views

Slow SSH connection establishment with PuTTY but not with OpenSSH

I'm having an a slow connection establishement issue with PuTTY : > time.exe plink.exe -no-antispoof root@X.Y.Z.T exit ...
user avatar
  • 251
0 votes
1 answer
82 views

Key forwarding with putty isn't working, but plink DOES work

I'm having a problem where putty's key forwarding (via pageant) to my gitlab server isn't working. I'm doing a putty session to my server, with ssh auth forwarding enabled. I see the effects of that ...
user avatar
  • 169
0 votes
0 answers
41 views

Open SSH and Telnet behaving strange on windows server 2019 based on timezone of the server

I have a strange issue when I connect SSH from one of my machines to a windows server 2019 I use OpenSSH in the windows server and the client has a private key to connect to the server it works fine ...
user avatar
0 votes
1 answer
293 views

Using Putty/plink to connect to remote MySQL from Windows machine using Port Forwarding and multi hop SSH tunnel

I need to set up port forwarding from my local Windows machine Port 3307 to a remote MySQL server port 3306 but accessed via 2 Linux proxy servers and a Linux web server. I need to use Putty or plink....
user avatar
0 votes
1 answer
116 views

How to stream tar archive using plink?

I'd like to stream a .tar archive from a Windows machine using PowerShell to a Linux machine and extract the archive from the stream. PowerShell pushes archive content to stdout and plink.exe stream ...
user avatar
0 votes
1 answer
500 views

Reliable reverse port forwarding between windows pc (under NAT) and linux server

I have the following topology: Linux server (Ubuntu 20.04) with static ip Windows server under NAT with no option to forward port to this machine I need to access securely port of windows server ...
user avatar
  • 101
0 votes
0 answers
537 views

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 ...
user avatar
  • 1
0 votes
0 answers
246 views

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, ...
user avatar
0 votes
1 answer
1k views

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 ...
user avatar
4 votes
2 answers
4k views

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 ...
user avatar
  • 125
1 vote
2 answers
7k views

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 ...
user avatar
0 votes
2 answers
298 views

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; [...
user avatar
0 votes
2 answers
4k views

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 ...
user avatar
  • 343
-1 votes
1 answer
8k views

How to use plink to create SSH tunnel to database?

I'm working on some software that has a local database, but also needs access to a database on AWS. The database is behind a web server, so the way that I need to connect is to create an SSH tunnel ...
user avatar
0 votes
2 answers
1k views

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 ...
user avatar
  • 285
0 votes
1 answer
926 views

Cannot run passwd through plink

This is my situation. I am trying to run the following command in WINDOWS 7 plink.exe user@ip.add.re.ss -pw password "passwd user" to change the password for a particular user. it keeps giving ...
user avatar
0 votes
0 answers
148 views

SSH tunnel seems to be bound to multiple IPs

I am using a SSH tunnel to a remote machine using plink.exe in Putty on Windows 8. I am also running a web application using the same port. So to avoid any port conflicts I have bound the tunnel to ...
user avatar
  • 101
0 votes
1 answer
1k views

unable to run the script in linux using plink

I'm unable to run a script in linux using plink.exe. I'm using my user x to login and script is under y user, which I need to sudo to y and run it. I was able to at command prompt manually but not ...
user avatar
  • 1
1 vote
1 answer
614 views

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. ...
user avatar
  • 173
0 votes
1 answer
9k views

execute sudo script on linux from windows

I need to connect to linux,run script which requires sudo. now i am trying this way: plink.exe -ssh -pw mypassword -noagent myname@10.111.11.123 "sudo /var/squid/myscript.sh in linux i added in /...
user avatar
  • 311
4 votes
1 answer
11k views

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 ...
user avatar
-1 votes
1 answer
20k views

Test A SSH Connection from Windows commandline [closed]

I am looking for a way to test if a SSH server is available from a Windows host. I found this one-liner, but it requires the a Unix/Linux host: ssh -q -o "BatchMode=yes" user@host "echo 2>&1" ...
user avatar
0 votes
1 answer
949 views

Dell UPS Management Software (ULNM) Shutdown Script Execution Failure

I got a Dell Server (PowerEdge R420) and a QNAP NAS (TS-412-U) connected to the UPS (Dell 1000W Rack), the ULNM Software is installed at the Server, the UPS is hooked up to the Server via USB. In the ...
user avatar
  • 342
2 votes
1 answer
218 views

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 ...
user avatar
  • 131
3 votes
2 answers
3k views

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 ...
user avatar
  • 211
30 votes
5 answers
69k views

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 ...
user avatar
  • 303
1 vote
2 answers
7k views

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 ...
user avatar
  • 233
1 vote
1 answer
319 views

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 ...
user avatar