Java wrapper - help needed

Sinkarbabu sinkarbabu.kirubanithi at oracle.com
Mon Jun 13 22:34:09 EST 2011


Thanks Angel, i assume this may be the only option around  of java.

One more question: Is there any API available in any native language 
that can be used to administer OpenSSH (For example, start/stop and may 
be a notification in case of failed transfer etc.)?


Regards,
Sinkar
On 6/10/2011 1:37 AM, Ángel González wrote:
> 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