initial commit
This commit is contained in:
		
							
								
								
									
										20
									
								
								nnss-ssh@.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								nnss-ssh@.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Create SSH connection to %I
 | 
			
		||||
After=network.target
 | 
			
		||||
StopWhenUnneeded=yes
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=notify
 | 
			
		||||
NotifyAccess=all
 | 
			
		||||
DynamicUser=yes
 | 
			
		||||
 | 
			
		||||
LoadCredential=ssh:/etc/nnss/%i
 | 
			
		||||
 | 
			
		||||
RuntimeDirectory=nnss-%i
 | 
			
		||||
StateDirectory=nnss-%i
 | 
			
		||||
ExecStart=ssh -F /usr/lib/nnss/ssh_config default
 | 
			
		||||
 | 
			
		||||
NoNewPrivileges=yes
 | 
			
		||||
CapabilityBoundingSet=
 | 
			
		||||
RestrictNamespaces=true
 | 
			
		||||
SystemCallFilter=@system-service
 | 
			
		||||
		Reference in New Issue
	
	Block a user