cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1148
Views
0
Helpful
0
Replies

Connection Problem, ssh to python or Powershell

Hello, i've a problem to connect to a ssh cisco.

I tried every thing, netmiko, paramiko and napalm and I still have the same problem.

SSH works, with Putty or something else, but I can't connect from python( powershell doesn't work too)

From Python I have this error :  paramiko.ssh_exception.BadAuthenticationType: Bad authentication type; allowed types: [''] 

And From Powershell I have this problem : New-SSHSession : Session operation has timed out
Au caractère Ligne:1 : 15
+ ... SHSession = New-SSHSession -ComputerName pile2 -Port 22 -Credential(G ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationTimeout: (Renci.SshNet.SshClient:SshClient) [New-SSHSession], SshOperationTimeoutException
+ FullyQualifiedErrorId : SSH.NewSshSession

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////

If Someone can help me i'll take it.

Thank's and have a nice day.

 

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: