You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by "Wermelskirchen, Florian" <FW...@eitco.de> on 2019/02/20 10:19:49 UTC
Check SSH Server in itest
Hi,
I´d like to check in my itest, if the ssh Server in Karaf is running correctly.
Do you have an ideas how i could achive this?
I tried execudeCommand("connect -u karaf -p karaf root") but it doesn't work.
Regards
Florian
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
Re: Check SSH Server in itest
Posted by Francois Papon <fr...@openobject.fr>.
Hi,
You can use Apache Mina SSHD, there is some examples in the Karaf ITests
module:
https://github.com/apache/karaf/tree/master/itests/test/src/test/java/org/apache/karaf/itests/ssh
regards,
François Papon
fpapon@apache.org
Le 20/02/2019 à 14:19, Wermelskirchen, Florian a écrit :
>
> Hi,
>
>
>
> I´d like to check in my itest, if the ssh Server in Karaf is running
> correctly.
>
> Do you have an ideas how i could achive this?
>
> I tried execudeCommand(„connect -u karaf -p karaf root“) but it
> doesn’t work.
>
>
>
> Regards
>
> Florian
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________