The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
37 views

Can't execute remote command using PuTTY/ Plink over SSH

Currently I am trying to run bat files call_putty.bat and call_plink.bat, but it isn't excuting the input commands in -m E:\CREATE_ONT.txt When I remove -m E:\CREATE_ONT.txt, the SSH session is ...
0
votes
0answers
130 views

How can you run `plink` to copy files?

A command line putty's version plink. Copying files from Windows system to Linux system is possible using plink, but how? I know the same can be achieved through pscp, but I want to achieve this ...
0
votes
1answer
46 views

Connecting to app server using plink

I need to connect to psadmin using plink. Try: plink -ssh [hostname] -l [user] -pw [password] psadmin When I run this I get error code 127 Command not found: psadmin When I enter into the shell ...
0
votes
0answers
143 views

How can I run serial commands via plink/putty with windows cmd file?

I would like to open putty command line and run some serial commands via a Windows command file but I can't figure it out. I've tried variations of the following in my cmd file: call plink -load ...
0
votes
0answers
111 views

Accessing pageant when running plink from the “local system account” LSA

I need to run plink from the “local system account” (LSA) on a Windows7 machine as part of an automated build process using TeamCity. I need to have pageant authentication working so that plink does ...
0
votes
0answers
39 views

Putty / Plink force tcp_nodelay when no shell is being started

I'm not entirely sure, but it appears that the TCP_NODELAY option is being ignored if no shell is being started in Putty/Plink. If this is so, is it possible to force enable it? Can be useful for ...
0
votes
2answers
434 views

If ssh connection fails using SOCKS then what? Automate switch to no proxy?

Right now I am using plink in a batch routine that reconnects to my SSH server if I loose connection. I use my plink connection & socks proxy (firefox) to forward all my browser traffic. Works ...
0
votes
1answer
377 views

Does plink support GSSAPI?

Does plink support GSSAPI? I know putty itself does and enabling GSSAPI works fine with putty, but for some reason it is not working with plink. I was under impression that plink would work the same. ...
0
votes
0answers
425 views

feed data to remote SSH linux script through putty/plink that were launch by vb.net

I am stucked thinking to send data to the SSH linux script while it is running in plink with vb.net. I am able to get the output & surely able to execute the SSH linux script with ...
0
votes
1answer
318 views

Windows 7 hostfile not used by PuTTY-Pliunk

I am having a problem and I don't understand the root cause. Situation I used to have a decent router running Tomato but it died. I bought a new one and had it installed/running past return date ...
0
votes
0answers
491 views

trying to transfer a file from my computer to a unix server

I m trying to automate the deployment process wherein i follow the following steps- 1.Run a Ant Script to build a .ear file 2.Login to the unix server using putty(SSH Connection) providing the login ...
1
vote
1answer
111 views

Tunneling ssh traffic to Linux server via multiple windows servers (2k8)

I am looking for a solution to this problem: At the end there are 3 different Linux servers (let's name them probe1,probe2,probe3) There's a win2k8 gateway to access them via ssh (22) (let's name it ...
0
votes
0answers
38 views

How to create a ssh multiple hops tunnel chain? [duplicate]

Possible Duplicate: ssh tunnel via multiple hops This commands we used to connect from localhost to host2: plink.exe -v fred@host1 -L 9903:host2:22 plink.exe -v fred@localhost -P ...
0
votes
1answer
5k views

Run .sh file in linux machine via putty

I want run an .sh file which take an argument in a Linux machine. I'm using plink.exe to execute this .sh file from a windows machine. But I don't know what to write in the batch file in order to run ...
1
vote
1answer
2k views

Using plink to establish a tunnel for the duration of a batch script

I have a batch script that synchronizes data between a local machine and a machine that can be reached over an SSH tunnel. Rather than leaving the tunnel open all the time, I'd like it to start when ...
2
votes
1answer
5k views

How to run bash script from windows using plink on linux

I'm trying to run a simple bat file from windows that will run a bash script on linux machine. The bash script is located on the linux machine. For example: I'm trying to run this bat file from ...
2
votes
2answers
588 views

Plink, backspace and bell

I'm connecting to a remote SSH linux server from a windows host using plink. This works correctly, I setup a private/public key and can authenticate without any problem. Thing is, when using plink ...
2
votes
1answer
573 views

How to add a string to remote file with plink

I'm writing a new backup script in [Powershell][1] to backup our [Azure SQL][2]. After the backup, I need to write into a logfile on a remote linux server. I thought about using plink (the ...
2
votes
0answers
2k views

SSH tunnel over HTTP(S) proxy (Reverse RDP)

I've been trying to accomplish this scenario: HOST_WORK is behind non-transparent squid_proxy (its not, but to get outside you need to use it, all other packets are black-holed on gateway not to ...
1
vote
4answers
2k views

SSH Terminal width when run from plink.exe on Windows

I'm using Console2 to run a Powershell in which I run plink.exe to connect to a Linux server. It works fine except that ps, top and other utilities in the shell only thinks the output window is 80 ...
3
votes
1answer
2k views

Execute local script requiring arguments on Linux via plink

Is it possible to execute (from windows) a local script with arguments on a remote linux system? Here's what I got: plink 1.2.3.4 -l root -pw mypassword -m hello.sh Is there a way to do this ...
1
vote
1answer
412 views

Windows SSH client that allows hostkey via command line?

So we know that you can provide the hostkeys for putty via the registry, but this is annoying and painful if you are trying to automate things. WinSCP allows you to do this via the -hostkey switch, ...
0
votes
2answers
563 views

PLINK is stuck at an older host - how do I replace it?

For some reason, when I issue PLINK.EXE by itself (no command line parameters) it always tries to connect to some remote host which I used in the past but I no longer use now. How do I change it to ...
0
votes
1answer
612 views

plink to execute passwd command in linux

i am using a window batch file and execute plink.exe to access to my fedora ftp server. It is successful. Now i created a user by useradd command with password. But it is unable to login as by default ...
4
votes
3answers
1k views

Is there a way to use plink with rsync on Windows?

I use rsync to sync files between a local directory and a remote host. I also use plink to automate my SSH passphase entry. What I can't figure out is how to use rsync with plink. This is what I ...
1
vote
1answer
1k views

plink takes connection host from putty's default connection

The only way the following command will work for me, is when putty's saved default connection does not define a host parameter. plink -l user -pw password myhost command The result is: myhost: ...
6
votes
3answers
1k views

SSH proxy problem

I used to use follows as my proxy server start c:\ssh\plink.exe -N username@mysite.com -pw mypasswd -P 22 -D localhost:8003 Now my company decides to block 22 port and I cannot access the 22 port ...