Calling putty from command prompt does not work anymore.

  • Hello,


    Not sure this is the correct part of the forum for this question,


    I "think" this problem started after I recently upgraded from OMV 6 to OMV 7 (im 99% sure it was still working fine before upgrading)


    I never let the server run when im not watching movies so I always shut it down every night, for conveinience I used to use a little batch file with this ;


    Code
    @echo on
    start putty.exe -ssh "server IP" -l "username" -pw "password" -m command.txt

    The Command.txt file contains this ;


    Code
    sudo shutdown -h now


    that used to simply shut down the server over the LAN


    but after upgrading to OMV 7 when I run this , I get the fatal error from Putty ;


    "Couldn't agree a host key algorithm (available; rsa-Sha2-512,rsa-sha2,ecdsa-sha2-nistp256,ssh-ed25519)"


    Putty still works fine to log in to my server (with same credentials) that all stil works,


    and the real kicker is ;

    On my smartphone I have the SSH button app by David Grootendorst, and I have a button there I put in EXACT the same command and credentials and that still works to shut down the server,


    so looks like there is "something" happening with the current Putty version and the current OMV version that does not play nice anymore with calling putty from a batch file ???


    Anyone know what might be causing this ? What changed about OMV from 6 to 7 that might cause this problem specificaly with Putty ?



    Extra Edit; security wise, is there a way to create a user on OMV and give him ONLY rights to shutdown the server ? since I will also be giving this to my son's , I prefer NOT giving them a batch file with the root user in lolz :) On for instance my OPNsense router I was able to create a special user just to send the WOL magic packet to the OMV server to start it (since it is on a seperate VLAN from my PC) , and security wise I prefer something like that (but skill wise I have NO clue how to do it :) )



    Any help is appreciated,



    thank you,

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!