Page MenuHomePhabricator
Paste P1728

(An Untitled Masterwork)
ActivePublic

Authored by hach-que on Feb 25 2015, 10:27 PM.
Tags
None
Referenced Files
F319346: file
Feb 25 2015, 10:27 PM
Subscribers
None
<?php
/**
* Daemon which spawns SSH to the local machine, used for ensuring.
*/
final class PhutilProcessSSHDaemon extends PhutilTortureTestDaemon {
protected function run() {
$root = phutil_get_library_root('phutil');
$root = dirname($root);
execx('ssh localhost -p 24 "sleep 120"');
}
}