小编Ara*_*avi的帖子

ssh 隧道上的奇怪输出:输出失败;连接失败:连接超时;

我使用ssh user@xx.yy.zz.41 -p 1234 -D 9898命令进行隧道传输,并将 firefox socks5 ip 设置为 127.0.0.1 并将其端口设置为 9898。它工作成功,但在终端中我有输出错误:

channel 39: open failed: connect failed: Connection timed out
channel 41: open failed: connect failed: Connection timed out
channel 42: open failed: connect failed: Connection timed out
channel 43: open failed: connect failed: Connection timed out
channel 44: open failed: connect failed: Connection timed out
Run Code Online (Sandbox Code Playgroud)

它定期发生。这是什么?这是个问题吗?我能做什么?

ssh tunneling ssh-tunnel socks

20
推荐指数
2
解决办法
3万
查看次数

恢复 SSH 会话

我已经通过 SSH 连接到我的服务器并创建了一个进程,但突然我的互联网连接断开了。我知道进程正在进行,但是如何恢复以前的会话以查看进度呢?

debian ssh session

13
推荐指数
4
解决办法
5587
查看次数

postfix[error]:发件人地址被拒绝:虚拟邮箱表中的用户未知

我安装了一个应用程序,它需要 smtp 信息来发送邮件,我为该应用程序提供了 smtp 用户、密码和主机,但是当它尝试发送邮件时,应用程序中发生了这个错误:

"SMTPRecipientsRefused: {'ash.mavi@gmail.com': (550, '5.1.0 <bounce-14-res.users-5@aaslaam.com>: Sender address rejected: User unknown in virtual mailbox table')} ".

我该怎么办?

邮件服务器日志:

Apr 29 13:41:41 ns3 postfix/smtpd[30281]: connect from unknown[xx.xx.xx.xx]
Apr 29 13:41:41 ns3 postfix/smtpd[30281]: NOQUEUE: reject: RCPT from unknown[xx.xx.xx.xx]: 550 5.1.0 <bounce-15-res.users-5@aaslaam.com>: Sender address rejected: User unknown in virtual mailbox table; from=<bounce-15-res.users-5@aaslaam.com> to=<ash.mavi@gmail.com> proto=ESMTP helo=<ns1.webmart.com>
Run Code Online (Sandbox Code Playgroud)

如果您需要了解更多信息,请告诉我。

email-server postfix odoo

7
推荐指数
1
解决办法
3万
查看次数

rsync 在一段时间后意外终止

我在 ssh 会话中运行一个rsync命令nohup,但过了一会儿它返回这个错误:

rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [generator=3.0.9]
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [receiver=3.0.9]
Run Code Online (Sandbox Code Playgroud)

我没有自己杀死这个进程,我认为没有任何其他进程可以杀死这个进程。我也用nohup. 我使用nohup是因为 ssh 会话因任何原因终止,rsync进程不会终止。

什么导致终止?

操作系统是 Debian Wheezy。

debian ssh rsync nohup debian-wheezy

7
推荐指数
1
解决办法
3393
查看次数

用于 postfix smtp 身份验证的 saslauthd 多实例

我有邮件服务器 Postfix+Saslauth。我为 Postfix 配置了多个实例:

后缀

后缀出

和两个实例saslauth

萨斯劳德

saslauthd-out

设置saslauthd用于验证Postfix服务及其saslauthd-out另一个实例。

为了创建sasl我的第二个实例,我这样做:

cp /etc/default/saslauthd /etc/default/saslauthd-out

使用此配置: :~# vim /etc/default/saslauthd-out

 DESC="SASL Authentication Daemon postfix-out"
 NAME="saslauthd-out"
 MECHANISMS="pam"
 OPTIONS="-c -m /var/spool/postfix-out/var/run/saslauthd-out"
Run Code Online (Sandbox Code Playgroud)

在后缀输出(/etc/postfix-out/sasl/smtp.conf)的配置中:

  pwcheck_method: saslauthd-out
Run Code Online (Sandbox Code Playgroud)

和后缀(/etc/postfix/sasl/smtp.conf):

  pwcheck_method: saslauthd
Run Code Online (Sandbox Code Playgroud)

当我重新启动时saslauth一切正常

当我尝试连接smtp server(postfix) 时,一切正常,并且身份验证成功,但在smtp server(postfix-out) 中,连接到 smtp 正常,但无法进行身份验证,并且发生了此错误:

:~# telnet mail2.example.com 25 
Trying 111.222.333.444...
Connected to mail2.example.com.
Escape character is '^]'. 
220 mail2.example.com ESMTP Postfix (@@DISTRO@@) 
auth plain YWdoc2EAYWdoc2hhbGRvcmFu 
535 5.7.8 …
Run Code Online (Sandbox Code Playgroud)

email-server smtp postfix saslauthd

5
推荐指数
1
解决办法
1806
查看次数