mirror of https://github.com/certd/certd
				
				
				
			perf: ssh 配置sudo免密提示
							parent
							
								
									eb75e52278
								
							
						
					
					
						commit
						e1e7011853
					
				| 
						 | 
				
			
			@ -1,11 +1,11 @@
 | 
			
		|||
---
 | 
			
		||||
name: Plugin Apply
 | 
			
		||||
about: 请求支持新部署插件
 | 
			
		||||
about: 部署插件申请支持
 | 
			
		||||
title: "[Plugin] "
 | 
			
		||||
labels: feature
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
> > 感谢您支持certd,请按如下规范提交issue    
 | 
			
		||||
> > 感谢您支持certd,请按如下规范提交issue
 | 
			
		||||
> 如果有条件,请尽量在[github上提交](https://github.com/certd/certd/issues)
 | 
			
		||||
 | 
			
		||||
# 新部署插件申请支持
 | 
			
		||||
| 
						 | 
				
			
			@ -1,12 +1,12 @@
 | 
			
		|||
---
 | 
			
		||||
name: DNS Provider Apply
 | 
			
		||||
about: 请求支持新的域名提供商
 | 
			
		||||
about: 域名提供商申请支持
 | 
			
		||||
title: "[DNS] "
 | 
			
		||||
labels: feature
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
> 感谢您支持certd,请按如下规范提交issue    
 | 
			
		||||
> 感谢您支持certd,请按如下规范提交issue
 | 
			
		||||
> 如果有条件,请尽量在[github上提交](https://github.com/certd/certd/issues)
 | 
			
		||||
 | 
			
		||||
# 新域名提供商支持申请
 | 
			
		||||
| 
						 | 
				
			
			@ -14,23 +14,23 @@ labels: feature
 | 
			
		|||
## 1. 基本信息
 | 
			
		||||
请填写如下内容:
 | 
			
		||||
 | 
			
		||||
1. 域名提供商名称:  
 | 
			
		||||
1. 域名提供商名称:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
2. 管理页面地址:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
3. 是否有API接口,接口地址: 
 | 
			
		||||
3. 是否有API接口,接口地址:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
4. 如果没有API接口,网页登录是否有验证码: 
 | 
			
		||||
4. 如果没有API接口,网页登录是否有验证码:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
5. 是否可以提供测试账号?(如果可以请留下联系方式或者加作者好友)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 2. 截图 
 | 
			
		||||
## 2. 截图
 | 
			
		||||
 | 
			
		||||
`域名管理页面截图`
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1,12 +1,12 @@
 | 
			
		|||
---
 | 
			
		||||
name: Bug Report
 | 
			
		||||
about: 报告一个错误或问题
 | 
			
		||||
about: 错误或问题报告
 | 
			
		||||
title: "[BUG] "
 | 
			
		||||
labels: bug
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
> 感谢您支持certd,请按如下规范提交issue    
 | 
			
		||||
> 感谢您支持certd,请按如下规范提交issue
 | 
			
		||||
> 如果有条件,请尽量在[github上提交](https://github.com/certd/certd/issues)
 | 
			
		||||
 | 
			
		||||
# bug提交
 | 
			
		||||
| 
						 | 
				
			
			@ -1,11 +1,11 @@
 | 
			
		|||
---
 | 
			
		||||
name: Feature Request
 | 
			
		||||
about: 新需求、新特性
 | 
			
		||||
about: 新需求、新特性申请支持
 | 
			
		||||
title: "[Feature] "
 | 
			
		||||
labels: feature
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
> > 感谢您支持certd,请按如下规范提交issue    
 | 
			
		||||
> > 感谢您支持certd,请按如下规范提交issue
 | 
			
		||||
> 如果有条件,请尽量在[github上提交](https://github.com/certd/certd/issues)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -247,6 +247,9 @@ export class AsyncSsh2Client {
 | 
			
		|||
            const err = this.convert(iconv, ret);
 | 
			
		||||
            stdErr += err;
 | 
			
		||||
            hasErrorLog = true;
 | 
			
		||||
            if (err.includes("sudo: a password is required")) {
 | 
			
		||||
              this.logger.warn("请配置sudo免密,否则命令无法执行");
 | 
			
		||||
            }
 | 
			
		||||
            this.logger.error(`[${this.connConf.host}][error]: ` + err.trimEnd());
 | 
			
		||||
          });
 | 
			
		||||
      });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue