I don't really have a lot of experience with the scripting - but we provide both a Linux and Windows ssh.sh/bat so you can use them and they should work fine (see https://github.com/apache/mina-sshd/tree/master/assembly/src/main/distribution/bin ).
Off the top of my head I would say that you are lacking sshd-core, sshd-cli and perhaps also sshd-scp and sshd-sftp (depends on whether you need them). > > > > ssh -T -p <port-id xyz> admin@localhost << EOF > > --- sub-command --- > > EOF > > > > Though, sub-command is executed successfully with 2.1.0 . > > > > BTW, my Java program makes use of mina-sshd that listens on port-id xyz. > I replaced old sshd-core 1.6.0 with sshd-core 2.1.0 and sshd-common 2.1.0 .
