您尚未登录。

#1 2024-05-22 11:17:51

llain
会员
注册时间: 2024-05-22
帖子: 6

帮忙看看ssh起不来,所以无法远程!!!!!!!

使用systemctl start sshd.service就卡住了  一直不提示启动成功或者失败。查看ssh的状态也是没起来的状态,应该怎做呀?????????
远程ssh提示这个报错:
kex_exchange_identification: read: Connection reset
Connection reset by 10.10.10.151 port 22

离线

#2 2024-05-22 11:19:25

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,698
个人网站

Re: 帮忙看看ssh起不来,所以无法远程!!!!!!!

sshd 的报错信息呢?

离线

#3 2024-05-22 11:31:31

llain
会员
注册时间: 2024-05-22
帖子: 6

Re: 帮忙看看ssh起不来,所以无法远程!!!!!!!

May 17 00:53:10 archlinux sshd[581]: pam_unix(sshd:session): session opened for user root(uid-0) by root(uid-May 17 01:01:04 archlinux systemd1]: Stopping OpenSSH Daemon...
May 17 01:01:04 archlinux sshd[577]:Received signal 15; terminating. May 17 01:01:04 archlinux systemd1]: sshd.service: Deactivated successfully. May 17 01:01:04 archlinux systemd1]: Stopped OpenSSH Daemon.
--Boot faabac47c1914336afd692c4c1577689
May 17 02:15:54 archlinux sshd5811: Server listening on 0.0.0.0 port 22. May 17 02:15:54 archlinux sshd[581]: Server listening on:: port 22. May 17 02:15:54 archlinux systemd11:Started OpenSSH Daemon.
May 17 02:15:55 archlinux sshd[5841: Accepted password for root from 172.17.17.254 port 55654 ssh2
May 17 02:15:55 archlinux sshd[5841: pam_unix(sshd:session):session opened for user rootluid-0) by root(uid-May 17 02:18:19 archlinux sshd12371: Accepted pasSword for root from 172.17.17.254 port 55776 ssh2
May 17 02:18:19 archlinux sshd[12371: pam_unix(sshd:session): session opened for user root(uid-0) by root(uids May 20 07:25:41 archlinux sshd[12969]: Invalid user lgy03 from 172.17.17.254 port 40328
May 20 07:25:43 archlinux sshd 129691: Connection closed by invalid user lgy03 172.17.17.254 port 40328 [preas May 20 07:31:03 archlinux sshd130461: Invalid user lgy03 from 172.17.17.254 port 40590
May 20 07:31:04 archlinux sshd[130461: Connection closed by invalid user lgy03 172.17.17.254 port 40590 [preas May 20 09:48:10 archlinux sshd[ 135801: Invalid user lgy03 from 172.17.17.254 port 47314
May 20 09:48:24 archlinux sshd135801: pam faillock(sshd:auth):User unknown
May 20 09:48:24 archlinux sshd[ 135801 pam_unix(sshd:auth):check pass;user unknown
May 20 09:48:24 archlinux sshd 13580] pam_unix(sshd:auth):authentication failure, Logname= uid-o euid-o tty May 20 09:48:24 archlinux sshd 135801 pam faillock(sshd:auth):User unknown
May 20 09:48:26 archlinux sshd 135801 Failed password for invalid user Lgy03 from172.17.17.254 port 47314 S May 20 09:48:28 archlinuX sshd 135801 Соппесtіоn сLоsеd Бу іnvаtіd usег іgуоз 172.17.17.254 рогt 47314 Гргед> May 20 09:48:40 archlinux Sshd135831 Accepted password for root from 172.17.17.254 port 47356 ssh2 May 20 09:48:40 archtinux sshd135831 pam_unix(sshd:session):session opened for userroot(uid-O) by rootluis May 22 02:06:35 archtinux sshd[212151 Connection closed by authenticating user root 172.17.17254 port 44900

离线

#4 2024-05-22 11:36:41

llain
会员
注册时间: 2024-05-22
帖子: 6

Re: 帮忙看看ssh起不来,所以无法远程!!!!!!!

求大佬指点指点呀,困惑很久了,不知道原因!!

最近编辑记录 llain (2024-05-22 12:58:38)

离线

#5 2024-05-22 14:53:13

llain
会员
注册时间: 2024-05-22
帖子: 6

Re: 帮忙看看ssh起不来,所以无法远程!!!!!!!

依云 说:

sshd 的报错信息呢?

1111

离线

#6 2024-05-22 16:32:39

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,698
个人网站

Re: 帮忙看看ssh起不来,所以无法远程!!!!!!!

你这日志是你手敲的?如果没法复制的话,请贴照片(可以传到图床然后这边放链接)。
另外注意你尝试登录的时间,是否有对应的日志。

离线

页脚