mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-10-30 18:39:10 +00:00 
			
		
		
		
	Update alpine-install.func
enable root SSH access
This commit is contained in:
		
							parent
							
								
									e2b999caa0
								
							
						
					
					
						commit
						ab40267e90
					
				| @ -111,6 +111,7 @@ motd_ssh() { | |||||||
|   echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" >/etc/motd |   echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" >/etc/motd | ||||||
|   if [[ "${SSH_ROOT}" == "yes" ]]; then |   if [[ "${SSH_ROOT}" == "yes" ]]; then | ||||||
|     $STD rc-update add sshd |     $STD rc-update add sshd | ||||||
|  |     sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config | ||||||
|     $STD /etc/init.d/sshd start |     $STD /etc/init.d/sshd start | ||||||
|   fi |   fi | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user