
sinkarbabu.kirubanithi at oracle
Jun 13, 2011, 5:34 AM
Post #3 of 4
(389 views)
Permalink
|
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"); > _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev [at] mindrot https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
|