Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-07-2017, 11:03 PM   #1
Registered: Jun 2008
Posts: 122

Rep: Reputation: 1
Plink could not execute remote command on 3rd party firewalls [with help of -batch option]

I would like to share my problem & experience with plink in which i am unable to execute commands on a 3rd party firewall (HUAWEI USG6350) from WINDOWS machine. Below details is for your reference.

1- I can connect to a LINUX box from a windows machine successfully and able to run single/multiple commands on LINUX machine. Below command is for reference.

WINDOWS>plink -l root -pw X1tuABC -batch "ps;ls;date;time"

2- I can connect FIREWALL box via windows machine successfully. Below command is for reference.

WINDOWS>plink -l admin -pw QCAC_99

3- However I could not able to connect a 3rd party firewall (HUAWEI 6350) box thru windows machine when I tried to run single or multiple commands on FIREWALL box. Below command is for reference.

WINDOWS>plink -l admin -pw QCAC_99 -batch "sys"

TIP: I assume we need to use something like expect & send commands (with plink) LIKE which is available in SecureCRT software.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I am trying to remote execute a python command vis ssh. I am getting a syntax error from the remote server. buckb Linux - Networking 7 12-29-2015 07:52 AM
[SOLVED] execute remote commands using plink -m commands jcolinbx Linux - General 3 12-04-2014 11:36 AM
Rsync to a 3rd party remote server without entering password Springs Linux - General 1 05-28-2012 02:18 PM
Sending 3rd party logs to remote syslog server OlRoy Linux - Server 3 12-24-2008 06:06 PM
mp3 batch convert, remote from command line zerodot Linux - Networking 1 02-12-2003 05:08 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration