The 4.5.0.2 x2goclient for Windows always passes the -h argument to sshd: strm<<clientdir<<"\\sshd.exe -D -p "<<clientSshPort.toInt()<<" -f "<< config <<" -h "<<key; with key= std::string key="\""+cygwinPath(etcDir+"/ssh_host_dsa_key").toStdString()+"\""; However, the shipped sshd does not autogenerate a DSA key anymore, but RSA.