ssh_exchange_identification: Connection closed by remote host cron是否存在一些问题,导致cron无法访问ssh密钥的home目录,从而导致失败ls /home/cron/.ecryptfs
ls: cannot access '/home/cron/.ecryptfs': No such file or directory 每次我通过SSH登录到服务器并运行脚本时
当我运行这段代码时,没有任何迹象表明XMPPController已经连接到Ejabberd服务器。XMPPStreamDelegate方法也没有被调用。就好像代码根本不在那里一样。应该有一些迹象表明我是连接的,不是吗?其他人也有这个问题吗?这是我的代码。谢谢。import Foundation
var xmppStream: XMPPS