putty

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? ...

PSFTP: overwriting existing files

Hello! I use psftp to sync directories on a linux box to my windows server (connection is initiated by the windows server). I use the "get -r /dir" command to get the files and directories recursively. Is there any chance to get only the changed/new files so that existing files are not overwritten? Thx, Tobias ...

Permission denied (publickey,keyboard-interactive)

Permission denied (publickey,keyboard-interactive) got this error while i am trying to cvs checkout from perl. what is issue and how to reslove this ? Code : system ( "CSVROOT:--- CVSRSH:--- cvs co a "); # i have proper value in cvs root and cvs rsh . its running alone and using ssh key ...

Get Process ID of Program Started with C# Process.Start

Thanks in advance for all of your help! I am currently developing a program in C# 2010 that launches PLink (Putty) to create a SSH Tunnel. I am trying to make the program able to keep track of each tunnel that is open so a user may terminate those instances that are no longer needed. I am currently using System.Diagnostics.Process.Start...

Best Way To Save Data::Visual C# 2010

In advance, thank you for all of your advice... So I am building a C# app that will save SSH connection settings for users. It kind of resembles Putty allowing a user to enter multiple SSH connections. The user will be able to recall these settings for each connection when launched. I have been Googling today to determine the best way ...

how to include input files while running a program on unix

When running my program (unix) I want to include two input files. How is this done? ...

Running putty/pscp/plink from windows command prompt

Hi All I am developing custom forms for Oracle Apps on my local system and using putty products like pscp plink etc, I FTP & compile the same. The following is the script which I run from command prompt from my local system. Script ====== pscp -l -pw C:\FTP\XX_GS_CUST.pll user@server:/d01/appldev/DEV/apps/apps_st/appl/au/12.0.0/reso...

Copy and Paste Foreign Characters

How do I copy foreign characters (like Chinese, German, etc) from my browser into Putty (Emacs)? ...

got disconnected on the remote linux server ....

my project on the remote server stopped working after i did the following 1> install putty 2> connect to the remote server using FTP details 3> then in the root server installed pear using $ sudo apt-get install php-pear 4> then i changed the path in php.ini now the server has stopped working ... why? what happened? HELP!! ...

Need Some Input on Right Licensing Path

So I am almost finished with my first app. It was constructed in Visual Studio/C#. I am now trying to determine which license to run with. I plan to provide the program free of charge to businesses and consumers, however, I do not want to publish the source code. What is the best licensing format to go with? This application is kind of ...

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

How to Connect to localhost with SSH(PuTTy)

hello, I just figured how to connect to my webhost with PuTTy . But how to I connect to my localhost? I put Servername: localhost port: 22 (I've tried 80 too) And it gives me an error "failed to connect" How do I connect? ...

Odd Behavior when Connecting to my Program

I'm using Twisted to implement a server, of sorts. When I test it, the first line it receives is always strange: Starting Server... New connection from 192.168.1.140 192.168.1.140: ÿûÿû ÿûÿû'ÿýÿûÿý\NAME Blurr 192.168.1.140: \NAME Blurr (for both inputs I sent \NAME Blurr.) This is the code that prints the input: def lineReceived(s...

Is the format of (p)sftp's dir/ls standard?

I'm putting together something to download some files over SFTP. I'm using Putty's psftp.exe command. When I do a dir/ls in Putty, is the format of the output standardized, either by SFTP or by Putty itself? Or is it just whatever free-form text the server happens to send in response? I ask because I believe in FTP (way back when!), ...

Using GVim on Windows to edit remote Linux files?

Is it possible to use gvim to edit remote Linux files if I am running Windows? To elaborate, I would like to connect to the Linux server via Putty and then use my local gvim instance to edit the files on the server -- Is this possible? It seems x11 forwarding (via xming?) might be the solution but I cannot get it to work. The remote s...

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

Monitoring/highlighting terminal stdout for keywords

Because our recent development work, I was put into a position where I have to monitoring a few of our application's output logs, specifically I am looking for a certain error code(s). Because my limited scripting skill right now the only thing I can do is to tail -f the log file and just keep looking for update. I also use PuTTY. I am h...

Connecting maven with putty

I'm having issues using putty with the mvn-deploy-plugin. I execute: mvn deploy This is what my settings.xml look like: <server> <id>website</id> <username>user</username> <!--<privateKey>c:\putty\id_rsa</privateKey> --> <configuration> <sshExecutable>c:\putty\plink</sshExecutable> <scpExecutable>c:\putty\pscp</scpExec...

PuTTY: Change default SSH login directory

On Windows I use PuTTY to log in a remote server via SSH. Is is possible to change the default directory entry point I get to after I connect and login? (That would be a nice time safer) e.g. from server/home/ to server/home/subdir/subdir forgot to add that the remote webserver is linux based ...

tail -f using PuTTY hangs

I am using PuTTY command line to connect to a server and tail a log file. On local machine I've created a file "tail-exec" which contains following text: tail -f /var/log/test.log I am starting putty through command line as: putty -ssh -t -pw -m tail-exec user@server This opens up the terminal window with log tail. But the problem i...