Page 2 of 2

Setup Troubles with SSH

Posted: Wed Aug 21, 2019 9:01 am
by cgoodwin
I am having some troubles setting up the VMS IDE in VS Code and am hoping someone here might know what is going on. Specifically, my issue lies when trying to set up the ssh connection. I followed the instructions as per the wiki, and want to use password authentication, not a key file. My settings for now are as follows:

Code: Select all

{
    "connection": {
        "host": "my.host.com",
        "keyFile": "",
        "password": "myPassword",
        "port": myport,
        "username": "myUsername",
        "skipSignatureVerification": false
    },
    "host-collection": {
        "hosts": []
    },
    "timeouts": {
        "cmdTimeout": 0,
        "feedbackTimeout": 0,
        "welcomeTimeout": 0
    },
    "terminal": {
        "command": "ssh -oHostKeyAlgorithms=+ssh-dss ${keyFile?-i ${keyFile}} ${username?${username}@}${host}"
    }
}
I Ctrl+F6 to run the terminal but I get 2 errors:
error: Bad protocol 2 host key algorithms '+ssh-dss'.
error: Invalid command line -o option 'HostKeyAlgorithms'
I have spent the past couple of days trying various solutions but almost all of them have just led to additional issues, so I decided to 'restart' back at the beginning with this initial problem. Any and all help would be greatly appreciated :D

Re: Setup Troubles with SSH

Posted: Wed Sep 11, 2019 8:44 am
by cgoodwin
sergey_vorfolomeev wrote:
Wed Sep 11, 2019 4:04 am
SSH setting algorithms is added in v1.2.6 https://wiki.vmssoftware.com/SSH_Settings
Thanks for the quick update on this; synchronization is now working perfectly!