17c478bd9Sstevel@tonic-gate<?xml version="1.0"?> 27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 37c478bd9Sstevel@tonic-gate<!-- 47c478bd9Sstevel@tonic-gate CDDL HEADER START 57c478bd9Sstevel@tonic-gate 67c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the 7eb1a3463STruong Nguyen Common Development and Distribution License (the "License"). 8eb1a3463STruong Nguyen You may not use this file except in compliance with the License. 97c478bd9Sstevel@tonic-gate 107c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 117c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing. 127c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions 137c478bd9Sstevel@tonic-gate and limitations under the License. 147c478bd9Sstevel@tonic-gate 157c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each 167c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE. 177c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the 187c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying 197c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner] 207c478bd9Sstevel@tonic-gate 217c478bd9Sstevel@tonic-gate CDDL HEADER END 227c478bd9Sstevel@tonic-gate 23eb1a3463STruong Nguyen Copyright 2009 Sun Microsystems, Inc. All rights reserved. 247c478bd9Sstevel@tonic-gate Use is subject to license terms. 257c478bd9Sstevel@tonic-gate 267ddce999SHans Rosenfeld Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> 277ddce999SHans Rosenfeld 287c478bd9Sstevel@tonic-gate NOTE: This service manifest is not editable; its contents will 297c478bd9Sstevel@tonic-gate be overwritten by package or patch operations, including 307c478bd9Sstevel@tonic-gate operating system upgrade. Make customizations in a different 317c478bd9Sstevel@tonic-gate file. 327c478bd9Sstevel@tonic-gate--> 337c478bd9Sstevel@tonic-gate 347c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWsshdr:ssh'> 357c478bd9Sstevel@tonic-gate 367c478bd9Sstevel@tonic-gate<service 377c478bd9Sstevel@tonic-gate name='network/ssh' 387c478bd9Sstevel@tonic-gate type='service' 397c478bd9Sstevel@tonic-gate version='1'> 407c478bd9Sstevel@tonic-gate 417c478bd9Sstevel@tonic-gate <create_default_instance enabled='false' /> 427c478bd9Sstevel@tonic-gate 437c478bd9Sstevel@tonic-gate <single_instance /> 447c478bd9Sstevel@tonic-gate 457c478bd9Sstevel@tonic-gate <dependency name='fs-local' 467c478bd9Sstevel@tonic-gate grouping='require_all' 477c478bd9Sstevel@tonic-gate restart_on='none' 487c478bd9Sstevel@tonic-gate type='service'> 497c478bd9Sstevel@tonic-gate <service_fmri 507c478bd9Sstevel@tonic-gate value='svc:/system/filesystem/local' /> 517c478bd9Sstevel@tonic-gate </dependency> 527c478bd9Sstevel@tonic-gate 537c478bd9Sstevel@tonic-gate <dependency name='fs-autofs' 547c478bd9Sstevel@tonic-gate grouping='optional_all' 557c478bd9Sstevel@tonic-gate restart_on='none' 567c478bd9Sstevel@tonic-gate type='service'> 577c478bd9Sstevel@tonic-gate <service_fmri value='svc:/system/filesystem/autofs' /> 587c478bd9Sstevel@tonic-gate </dependency> 597c478bd9Sstevel@tonic-gate 607c478bd9Sstevel@tonic-gate <dependency name='net-loopback' 617c478bd9Sstevel@tonic-gate grouping='require_all' 627c478bd9Sstevel@tonic-gate restart_on='none' 637c478bd9Sstevel@tonic-gate type='service'> 647c478bd9Sstevel@tonic-gate <service_fmri value='svc:/network/loopback' /> 657c478bd9Sstevel@tonic-gate </dependency> 667c478bd9Sstevel@tonic-gate 677c478bd9Sstevel@tonic-gate <dependency name='net-physical' 687c478bd9Sstevel@tonic-gate grouping='require_all' 697c478bd9Sstevel@tonic-gate restart_on='none' 707c478bd9Sstevel@tonic-gate type='service'> 717c478bd9Sstevel@tonic-gate <service_fmri value='svc:/network/physical' /> 727c478bd9Sstevel@tonic-gate </dependency> 737c478bd9Sstevel@tonic-gate 747c478bd9Sstevel@tonic-gate <dependency name='cryptosvc' 757c478bd9Sstevel@tonic-gate grouping='require_all' 767c478bd9Sstevel@tonic-gate restart_on='none' 777c478bd9Sstevel@tonic-gate type='service'> 787c478bd9Sstevel@tonic-gate <service_fmri value='svc:/system/cryptosvc' /> 797c478bd9Sstevel@tonic-gate </dependency> 807c478bd9Sstevel@tonic-gate 817c478bd9Sstevel@tonic-gate <dependency name='utmp' 827c478bd9Sstevel@tonic-gate grouping='require_all' 837c478bd9Sstevel@tonic-gate restart_on='none' 847c478bd9Sstevel@tonic-gate type='service'> 857c478bd9Sstevel@tonic-gate <service_fmri value='svc:/system/utmp' /> 867c478bd9Sstevel@tonic-gate </dependency> 877c478bd9Sstevel@tonic-gate 88eb1a3463STruong Nguyen <dependency name='network_ipfilter' 89eb1a3463STruong Nguyen grouping='optional_all' 90eb1a3463STruong Nguyen restart_on='error' 91eb1a3463STruong Nguyen type='service'> 92eb1a3463STruong Nguyen <service_fmri value='svc:/network/ipfilter:default' /> 93eb1a3463STruong Nguyen </dependency> 94eb1a3463STruong Nguyen 957c478bd9Sstevel@tonic-gate <dependency name='config_data' 967c478bd9Sstevel@tonic-gate grouping='require_all' 977c478bd9Sstevel@tonic-gate restart_on='restart' 987c478bd9Sstevel@tonic-gate type='path'> 997c478bd9Sstevel@tonic-gate <service_fmri 1007c478bd9Sstevel@tonic-gate value='file://localhost/etc/ssh/sshd_config' /> 1017c478bd9Sstevel@tonic-gate </dependency> 1027c478bd9Sstevel@tonic-gate 1037c478bd9Sstevel@tonic-gate <dependent 1047c478bd9Sstevel@tonic-gate name='ssh_multi-user-server' 1057c478bd9Sstevel@tonic-gate grouping='optional_all' 1067c478bd9Sstevel@tonic-gate restart_on='none'> 1077c478bd9Sstevel@tonic-gate <service_fmri 1087c478bd9Sstevel@tonic-gate value='svc:/milestone/multi-user-server' /> 1097c478bd9Sstevel@tonic-gate </dependent> 1107c478bd9Sstevel@tonic-gate 1117c478bd9Sstevel@tonic-gate <exec_method 1127c478bd9Sstevel@tonic-gate type='method' 1137c478bd9Sstevel@tonic-gate name='start' 1147c478bd9Sstevel@tonic-gate exec='/lib/svc/method/sshd start' 1157c478bd9Sstevel@tonic-gate timeout_seconds='60'/> 1167c478bd9Sstevel@tonic-gate 1177c478bd9Sstevel@tonic-gate <exec_method 1187c478bd9Sstevel@tonic-gate type='method' 1197c478bd9Sstevel@tonic-gate name='stop' 1207c478bd9Sstevel@tonic-gate exec=':kill' 1217c478bd9Sstevel@tonic-gate timeout_seconds='60' /> 1227c478bd9Sstevel@tonic-gate 1237c478bd9Sstevel@tonic-gate <exec_method 1247c478bd9Sstevel@tonic-gate type='method' 1257c478bd9Sstevel@tonic-gate name='refresh' 1267c478bd9Sstevel@tonic-gate exec='/lib/svc/method/sshd restart' 1277c478bd9Sstevel@tonic-gate timeout_seconds='60' /> 1287c478bd9Sstevel@tonic-gate 1297c478bd9Sstevel@tonic-gate <property_group name='startd' 1307c478bd9Sstevel@tonic-gate type='framework'> 1317c478bd9Sstevel@tonic-gate <!-- sub-process core dumps shouldn't restart session --> 1327c478bd9Sstevel@tonic-gate <propval name='ignore_error' 1337c478bd9Sstevel@tonic-gate type='astring' value='core,signal' /> 1347c478bd9Sstevel@tonic-gate </property_group> 1357c478bd9Sstevel@tonic-gate 1367c478bd9Sstevel@tonic-gate <property_group name='general' type='framework'> 1377c478bd9Sstevel@tonic-gate <!-- to start stop sshd --> 1387c478bd9Sstevel@tonic-gate <propval name='action_authorization' type='astring' 1397c478bd9Sstevel@tonic-gate value='solaris.smf.manage.ssh' /> 1407c478bd9Sstevel@tonic-gate </property_group> 1417c478bd9Sstevel@tonic-gate 142eb1a3463STruong Nguyen <property_group name='firewall_context' type='com.sun,fw_definition'> 143eb1a3463STruong Nguyen <propval name='name' type='astring' value='ssh' /> 144eb1a3463STruong Nguyen <propval name='ipf_method' type='astring' 145eb1a3463STruong Nguyen value='/lib/svc/method/sshd ipfilter' /> 146eb1a3463STruong Nguyen </property_group> 147eb1a3463STruong Nguyen 148eb1a3463STruong Nguyen <property_group name='firewall_config' type='com.sun,fw_configuration'> 149eb1a3463STruong Nguyen <propval name='policy' type='astring' value='use_global' /> 1507ddce999SHans Rosenfeld <propval name='block_policy' type='astring' 1517ddce999SHans Rosenfeld value='use_global' /> 152eb1a3463STruong Nguyen <propval name='apply_to' type='astring' value='' /> 1537ddce999SHans Rosenfeld <propval name='apply_to_6' type='astring' value='' /> 154eb1a3463STruong Nguyen <propval name='exceptions' type='astring' value='' /> 1557ddce999SHans Rosenfeld <propval name='exceptions_6' type='astring' value='' /> 1567ddce999SHans Rosenfeld <propval name='target' type='astring' value='' /> 1577ddce999SHans Rosenfeld <propval name='target_6' type='astring' value='' /> 158eb1a3463STruong Nguyen <propval name='value_authorization' type='astring' 159eb1a3463STruong Nguyen value='solaris.smf.value.firewall.config' /> 160eb1a3463STruong Nguyen </property_group> 161eb1a3463STruong Nguyen 1627c478bd9Sstevel@tonic-gate <stability value='Unstable' /> 1637c478bd9Sstevel@tonic-gate 1647c478bd9Sstevel@tonic-gate <template> 1657c478bd9Sstevel@tonic-gate <common_name> 1667c478bd9Sstevel@tonic-gate <loctext xml:lang='C'> 1677c478bd9Sstevel@tonic-gate SSH server 1687c478bd9Sstevel@tonic-gate </loctext> 1697c478bd9Sstevel@tonic-gate </common_name> 1707c478bd9Sstevel@tonic-gate <documentation> 171*bbf21555SRichard Lowe <manpage title='sshd' section='8' manpath='/usr/share/man' /> 1727c478bd9Sstevel@tonic-gate </documentation> 1737c478bd9Sstevel@tonic-gate </template> 1747c478bd9Sstevel@tonic-gate 1757c478bd9Sstevel@tonic-gate</service> 1767c478bd9Sstevel@tonic-gate 1777c478bd9Sstevel@tonic-gate</service_bundle> 178