Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9109635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:05:30+00:00 2026-06-17T03:05:30+00:00

plink user@10.220.60.xx ‘/home/user/test/testpgm’ On running the below program which resides on a Linux machine

  • 0
plink user@10.220.60.xx '/home/user/test/testpgm'

On running the below program which resides on a Linux machine from a windows machine using plink, I get only the following messages.

Test Pgm
Enter a string:

On Entering a string as input, It doesn’t appear in the command window and the output as well doesn’t appear.

#include<stdio.h>
int main(void)
{
   int i;
   char buf[30];
   printf("Test Pgm \n");
   printf("Enter a string:");
   fflush(stdout);
   gets(buf);
   printf("Input str:%s \n",buf);

   return 0;
}

gcc test.c -o testpgm

PS:Plink (PuTTY Link) is a command-line connection tool similar to UNIX ssh.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T03:05:32+00:00Added an answer on June 17, 2026 at 3:05 am

    Plinks documentation1 suggests, that you should not use Plink for interactive shell sessions, like you normally do with ssh, but for automated tasks instead. However, if you pass the -t parameter to your plink call, you can give it some interactive behaviour (with limitations).

    some other alternatives to ssh in a windows environment are:

    freeSSHd (provided by Microsoft) http://www.freesshd.com/

    openSSH http://www.openssh.com/

    dropbear https://matt.ucc.asn.au/dropbear/dropbear.html

    I’ve tested none of these, but I think you’ll figure it out 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

plink user@10.220.60.xx -t '/home/user/test/testpgm' I'm able to run the below program which resides on
I'm calling plink from C# code which is running as a certain Windows user.
I have created the following program which allows a user to guess a word
I'm making a program that makes a fractal, and the user is suppose to
the problem in a nutshell: running plink(with specific arguments) works from cmd, but not
I have one windows service which will use plink.exe for SSH connection and I
I have the code below which links to a page called deletepage.php which is
If I run plink in a cmd window with -N option C:\Program Files\Putty>plink -v
The target machine is running Ububtu server 8.04. Here's the tramp output: tramp: Opening
Thanks in advance for all of your help! I am currently developing a program

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.