Search found 2 matches

by kmm13
Wed Oct 04, 2023 2:57 pm
Forum: General
Topic: SFTP using Expect - Bad protocol 2 host key algorithms
Replies: 3
Views: 8584

Re: SFTP using Expect - Bad protocol 2 host key algorithms

My guess is that version of OpenSSH (the sftp program is part of the OpenSSH package) that you're running does not support that host key algorithm. You make it sound like the problem is somehow related to Expect, and I don't understand how that could be. If you run the commands yourself at the comm...
by kmm13
Tue Oct 03, 2023 6:54 pm
Forum: General
Topic: SFTP using Expect - Bad protocol 2 host key algorithms
Replies: 3
Views: 8584

SFTP using Expect - Bad protocol 2 host key algorithms

Hello, we are trying to get SFTP working on an IBM i, and when it runs the script we are getting this message, Bad protocol 2 host key algorithms '+ssh-dss'. Connection closed. sftperror.PNG This is the first part of the SFTP script file: ************Beginning of data************** #!/usr/local/bin/...