plink

Alternative SSH Application to Plink

I have recently started having problems with TortoiseCVS, or more specifically with plink, the SSH application that comes with it. The IP address it tries to connect to can not be changed and is stuck with the old CVS repository's IP. Downloading plink from it's home site and calling from the command line still has this problem. Tortois...

Emacs, tramp, plink problem on XP

The target machine is running Ububtu server 8.04. Here's the tramp output: tramp: Opening connection for [email protected] using nil...<br> tramp: Waiting for prompts from remote shell<br> tramp: Waiting 60s for prompt from remote shell<br> tramp: Sending password<br> tramp: Found remote shell prompt.<br> tramp: Initializing remote shel...

What does CreateFile("CONIN$" ..) do?

I was hacking away the source code for plink to make it compatible with unison. If you don't know, unison is a file synchronization tool, it runs an "ssh" command to connect to a remote server, but there's no ssh.exe for windows; there's plink, which is very close but not close enough (it doesn't behave like unison expects it to), so pe...

emacs + tramp + plink

I'm trying to get emacs tramp running under Windows XP to work over putty plink on an Amazon EC2 instance. The documentation for doing this is sparse. I can find partial documentation, but none that addresses all the steps required to get this working. Can anyone provide a walk through, or a pointer to a walk through? ...

PLINK change character set translation to UTF-8 (utf8)

Does anyone know how to configure the character set translation on plink (the command line version of Putty) to UTF-8? I'm trying to SSH to a Linux server whose character set configuration is UTF-8. This can be easily achieved via Putty, but I can't seem to find that command line option on Plink... ...

plink Password Over and Over

Hi Guys, I am using plink as part of GIT setup and I have setup my remote keys correctly and can connect via Putty. However, when I attempt to run msysgit and TortiseGit to clone a git directly - enter the path via c:\Program Files (x86)\puTTY\plink.exe I get a window box asking for a password. Now I have set a pword on my rsa...

Speeding up ssh in batch files

This is my situation:     I have a linux server/media center with a windows client.     My goal is to remote control rhythmbox amongst other things.     I've done this using plink (windows based cli ssh toy).     The problem is that starting up an ssh session logging in and sending a command is understandably slow as hell. When I had a w...

python unicode implementation (using external programs: cygnative plink ssh rsync)

I have a backup applications in python that needs to work on Windows. It needs UTF compatibility (to be able to backup directories that contain UTF characters like italian accents). The problem is it uses external programs (plink, cygwin, ssh and rsync) and I can't get them working. The prototype is 32 lines long, please take a look: # ...

emacs, tramp, rsync, MS Windows

Similar to http://stackoverflow.com/questions/148578/ but that question doesn't address MS Windows. Has anyone been able to use rsync instead of plink, either through cygwin or otherwise? ...

Mercurial "hg clone" on Windows via ssh with plink issue

I have a Windows Server 2008 machine (iis7) that has CopSSH set up on it. To connect to it, I have a Windows 7 machine with Mercurial 1.5.1 (and TortoiseHg) installed. I can connect to the server using PuTTY with a non-standard ssh port and a .ppk file just fine. So I know the server can be SSH'd into. Next, I wanted to use the CLI to ...

How does PUTTY/PLINK determine a command has returned?

Is it newline? prompt? What exactly? Trying to run powershell over plink and the command executes but plink doesn't recognise its finished and the session hangs. Most curiously though, the command executes successfully when sent through the shell (via Putty). However, when sent via plink, the same command hangs... Any ideas? ...

How do I set GIT to use Plink.exe

I'm trying to configure Git to use Plink, now for some reason this option isn't available to me I tried uninstalling and reinstalling Git a hundred times I can't get to this option ...

Plink SSH: '-m file' option not working

Hi, I am trying to use Plink for running commands on remote server. Both, local & remote machine are Windows. Though I am able to connect to the remote machine using Plink, i am not able to use the '-m file' option. I tried the following three ways but to no avail: Try 1: plink.exe -ssh -pw mypwd gchhabra@machine -m file.txt Could ...

Run bash script to control JBoss from Windows using PLink.exe?

I created a windows batch file with the following content: plink -batch PuttySaveSessionName -pw thePassword "bash stop.sh" stop.sh is located in the home directory of the linux machine I log in to, and has the following content: echo "starting..." cd //path_to_jboss_dir/jboss/bin ./spcrun.stop echo "finished" If I execute the Wind...

Plink: 'del' command not working on remote server

Hi, I have setup OpenSSH on remote server. I am trying to execute commands on the remote server from my local machine using Plink. Both local and remote server are Windows XP machine. Though I am able to run commands such as ‘move’, ‘mkdir’ but ‘del’ command is not working. For example, Working: plink -ssh -pw xxx user@server cmd.e...

PLINK and removing parts of the data

I have a file of SNPs that was processed using plink. Is there an easy method to remove the monomorphic snps from the file using plink? or is this best done using python. I have a list of several thousands of snps and in the file they are assigned either an NA, 0, 1, or 2. I want to remove the list of snps that have an NA i.e. they are m...

plink asking for login credentials when already argumented?

plink 12.34.567.89 -ssh -pw <hidden pass> -l <hidden username> svn update ~/public_html The ip addresss above is hidden/modified When I execute this, it asks: "login as: _" But I already supplied my login credentials in the plink command. I know my credentials are correct, I tested them with putty Thanks, Jonah ...

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 option? For example, my bashrc file adds a directory to my path. This directory contains extra p...

problem executing plink(putty) command

I am using Plink to execute remote command: When using this from cmd prompt in single line it doesnot work: C:\>c:\plink.exe -l userId -pw psw -m C:\goto\test.bat remote_host It says unable to open command file "C:\goto\test.bat" But The following works: C:\>c:\plink.exe -l userId -pw psw remote_host C:\>C:\goto\test.bat Please ...

Can't type password (or anything else) into plink with svn+ssh

I've been using SVN and Windows for a while now, but recently I tried to get it working on a new machine. I have a svn+ssh:// repository that I need to access but I am unable to because, as I understand it, plink is not hooked up to the console input and thus I cannot type in my password when running svn commands. This page (near the bo...