Java wrapper - help needed
Ángel González
keisial at gmail.com
Fri Jun 10 06:07:36 EST 2011
Sinkarbabu wrote:
> Hi All,
>
> One request: Is there any java wrapper available to manage the
> OpenSSH? For example, start/stop the SSH/SFTP service.
>
> P.S: If this is not a right mailing list to post such questions,
> please direct me to appropriate one.
>
> Regards,
> Sinkar
Usually you have a shell script for starting/stopping the sshd daemon.
Eg. /etc/rc.d/sshd
So you can run it from java using Runtime.exec("/etc/rc.d/sshd start");
More information about the openssh-unix-dev
mailing list