我设置了 Dovecot 和 Postfix,但是当我尝试使用 Thunderbird 进行身份验证时,出现以下错误:“Thunderbird 无法找到您的电子邮件帐户的设置。”
==> /var/log/dovecot-info.log <==
Apr 06 10:42:16 auth: Debug: auth client connected (pid=13243)
Apr 06 10:42:16 imap-login: Info: Disconnected (no auth attempts): rip=76.xx.xx.xx, lip=172.31.15.65, TLS: SSL_read() failed: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate: SSL alert number 42
==> /var/log/maillog <==
Apr 6 10:42:16 ip-172-31-15-65 postfix/smtpd[13238]: lost connection after UNKNOWN from user-xxxxxx.cable.mindspring.com[76.xx.xx.xxx]
Apr 6 10:42:16 ip-172-31-15-65 postfix/smtpd[13238]: disconnect from user-xxxxxx.cable.mindspring.com[76.xx.xx.xx]
Run Code Online (Sandbox Code Playgroud)
我可以用telnet连接。
这是雷鸟错误。
当我的连接空闲一段时间后,远程主机关闭连接。我尝试键入一个新命令,它挂起,然后关闭连接。如何让 ssh 连接保持更长时间的活动状态?
$ ssh root@host.com
Last login: Tue Jan 3 03:09:39 2017 from c-99-99-99-99.hsd1.xx.comcast.net
[root@ip-172-99-99-99 ~]# groups
root bin daemon sys adm disk wheel
[root@ip-172-99-99-99 ~]# users
root root
[root@ip-172-99-99-99 ~]# less /etc/passwd
[root@ip-172-99-99-99 ~]# Connection reset by 52.99.99.99 port 22
Run Code Online (Sandbox Code Playgroud)
远程是 Amazon (AWS) 上的 CentOS,本地是 Cygwin。
我尝试了这个答案中的几个建议,但没有一个奏效。
[root@308321 sugar-dev]# yum install git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.ubiquityservers.com
* epel: www.gtlib.gatech.edu
* extras: mirrors.usinternet.com
* updates: mirrors.serveraxis.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.8.2.1-1.el5 will be installed
--> Processing Dependency: perl-Git = 1.8.2.1-1.el5 for package: git-1.8.2.1-1.el5.x86_64
--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.2.1-1.el5.x86_64
--> Processing Dependency: perl(Git) for package: git-1.8.2.1-1.el5.x86_64
--> Processing Dependency: perl(Error) for package: git-1.8.2.1-1.el5.x86_64
--> Processing Dependency: libssl.so.6()(64bit) …
Run Code Online (Sandbox Code Playgroud) 我想跑YII_ENV=prod yii kw/test
十次。我试过
$ YII_ENV=prod for x in 1..10 do; yii kw/test done;
-bash: for: command not found
1304682651
Run Code Online (Sandbox Code Playgroud)
(好像跑过一次。)我也试过
$ for x in {1..10} do; YII_ENV=prod yii kw/test done;
-bash: syntax error near unexpected token `YII_ENV=prod'
Run Code Online (Sandbox Code Playgroud)
GNU bash,版本 4.3.39(2)-release (i686-pc-cygwin)
centos ×2
bash ×1
command-line ×1
cygwin ×1
dovecot ×1
for ×1
postfix ×1
shell ×1
shell-script ×1
ssh ×1
sshd ×1
ssl ×1
thunderbird ×1
timeout ×1
yum ×1