Java ssh实现远程服务器部署( 二 )

SAFE_DELETE_FILESYSTEM_PATH_DEFAULT= new ArrayList(16);static {SAFE_DELETE_FILESYSTEM_PATH_DEFAULT.add("/");SAFE_DELETE_FILESYSTEM_PATH_DEFAULT.add("/boot");SAFE_DELETE_FILESYSTEM_PATH_DEFAULT.add("/home");SAFE_DELETE_FILESYSTEM_PATH_DEFAULT.add("/opt");SAFE_DELETE_FILESYSTEM_PATH_DEFAULT.add("/usr");SAFE_DELETE_FILESYSTEM_PATH_DEFAULT.add("/etc");}} 
具体操作类通过实现
BtpAbastractSSHApamaService类即可




推荐阅读