Incompatible ssh server (no acceptable macs). Line:666. code: 8030

Incompatible ssh server (no acceptable macs). Line:666. code: 8030

107
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 12:58 PM


Symptom


When executing a Python based plugin that uses SSH (ex: Password File Plugin), the following error is received:
 
Error has occurred: Incompatible ssh server (no acceptable ciphers). Line:643. code: 8030 


Environment


10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7 PAS
CPM


Cause


The target SSH server uses ciphers that are incompatible with the Paramiko library version on the CPM.


Resolution


Update the Paramiko Python library on the CPM Server.
  1. Download the 1.16.0 Paramiko library from https://pypi.python.org/pypi/paramiko/1.16.0#downloads
  2. Extract the contents of the library to the CPM Server. (Note: Python libraries are usually stored in .tar.gz archives, and must be extracted with 7-zip or WinRAR)
  3. Open an administrative command prompt to the extracted Paramiko files, and run the following command:
Drive:\Python27\Python.exe setup.py install
 
To verify that the new library was installed, run the following commands from an administrative command prompt (">>" denotes a Python prompt):
Drive:\Python27\Python.exe 
>> import paramiko 
>> paramiko.__version_info__ 
(1,16,0) 
>> exit() 
The version number printed should match the Paramiko version you downloaded (v1.16.0).

Note: You may also need to delete the old "Drive:\Python27\lib\paramiko" folder. This is because the paramiko install puts the new libraries in "Drive:\Python27\lib\site-packages\paramiko". Without removing the old folder it may continue to load the old version when CPM tries to update files over SSH.


Additional Information


Details

SYMPTOM:

 

 

When executing a Python based plugin that uses SSH (ex: Password File Plugin), the following error is received:
 
Error has occurred: Incompatible ssh server (no acceptable ciphers). Line:643. code: 8030 
 
PROBLEM:
The target SSH server uses ciphers that are incompatible with the Paramiko library version on the CPM.
 
SOLUTION:
Update the Paramiko Python library on the CPM Server.
 
  1. Download the 1.16.0 Paramiko library from https://pypi.python.org/pypi/paramiko/1.16.0#downloads
  2. Extract the contents of the library to the CPM Server. (Note: Python libraries are usually stored in .tar.gz archives, and must be extracted with 7-zip or WinRAR)
  3. Open an administrative command prompt to the extracted Paramiko files, and run the following command:
Drive:\Python27\Python.exe setup.py install
 
To verify that the new library was installed, run the following commands from an administrative command prompt (">>" denotes a Python prompt):
 
Drive:\Python27\Python.exe 
>> import paramiko 
>> paramiko.__version_info__ 
(1,16,0) 
>> exit() 
The version number printed should match the Paramiko version you downloaded (v1.16.0).



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001JJxCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail