[3rd-Party Apps] ssh死活链接不上
Tofloor
poster avatar
Leo
deepin
2022-12-01 03:28
Author

版本号20 安装了openssh-server 在windows上连接

用户名密码明明是对的就是一直提示要我输入用户名和密码输入三次不是

提示Permission denied, please try again.

要不就是Permission denied (publickey)

反正我debian Ubuntu用的好好的。到了deepin还要到处去搜索哪里出问题。

系统是重置了一遍又一遍。连不上就是连不上。

反正也没有.ssh目录

所以压根就没生成密钥。

折腾了一个下午 已经卸载了deepin 安装Ubuntu了 不用再回复了

Reply Favorite View the author
All Replies
liwl
deepin
2022-12-01 03:51
#1

sudo systemctl start ssh

Reply View the author
Leo
deepin
2022-12-01 04:01
#2
liwl

sudo systemctl start ssh

我安装完ssh 第一件事就是启动ssh 服务

Reply View the author
Ziggy
deepin
2022-12-01 05:49
#3

客户端用什么链接的

Reply View the author
liwl
deepin
2022-12-01 07:08
#4
Leo

我安装完ssh 第一件事就是启动ssh 服务

有没有一种可能,你不需要自己去安装,直接启动就可以了

我用了几年,ssh连接正常,没出现过啥问题,密码密钥都可以

Reply View the author
deepinuser17
deepin
2022-12-01 07:22
#5

查看/var/log/auth.log. /var/log/auth.log会记录任何ssh登录的事件, 并给出错,或成功的信息。

可以实时查看:

sudo tail -f /var/log/auth.log

然后试验ssh连接。

Reply View the author
deepinuser17
deepin
2022-12-01 07:23
#6
It has been deleted!
ykz9290
deepin
2022-12-07 01:27
#7

使用chkconfig ssh on 无法开启 报

insserv: FATAL: service mountkernfs has to exists for service udev
insserv: FATAL: service checkroot has to exists for service cryptdisks
insserv: FATAL: service urandom has to exists for service networking
insserv: FATAL: service mountdevsubfs has to exists for service lvm2
insserv: exiting now!
/sbin/insserv failed, exit code 1

怎么处理。一开始用chkconfig ssh off 关的

Reply View the author
Leo
deepin
2022-12-17 19:39
#8
It has been deleted!
Leo
deepin
2022-12-17 19:44
#9

原因找到了 不允许用短密码简单密码。 怎么都跟Apple学的什么臭毛病。我爱用什么密码你们那么爱干涉吗?谁有那么多精力去设计和记忆复杂密码?

不让用简单密码也不提示也不阻止 搞的那么隐晦。

还是卸载了。我受不了消耗我精力的东西。

Reply View the author
JacksonWu
deepin
2023-01-14 02:23
#10

我在Deepin 20.8 上也遇到了从别的电脑无法ssh登录的问题。/var/log/syslog中有如下的打印

2023-01-13 18:19:21 zwu-PC kernel: [ 2672.579853] audit: type=1326 audit(1673605161.424:40): auid=4294967295 uid=110 gid=65534 ses=4294967295 subj=unconfined pid=6697 comm="sshd" exe="/usr/sbin/sshd" sig=31 arch=c000003e syscall=230 compat=0 ip=0x7efff0d4230e code=0x0

/var/log/auth.log 中并没有任何打印。

客户端的登录命令和结果是:

ssh -p 22 zwu@192.168.0.157

Connection closed by 192.168.0.157 port 22

Reply View the author
亚历山大一世
deepin
2023-03-03 08:04
#11
JacksonWu

我在Deepin 20.8 上也遇到了从别的电脑无法ssh登录的问题。/var/log/syslog中有如下的打印

2023-01-13 18:19:21 zwu-PC kernel: [ 2672.579853] audit: type=1326 audit(1673605161.424:40): auid=4294967295 uid=110 gid=65534 ses=4294967295 subj=unconfined pid=6697 comm="sshd" exe="/usr/sbin/sshd" sig=31 arch=c000003e syscall=230 compat=0 ip=0x7efff0d4230e code=0x0

/var/log/auth.log 中并没有任何打印。

客户端的登录命令和结果是:

ssh -p 22 zwu@192.168.0.157

Connection closed by 192.168.0.157 port 22

我也是,已经卸载了

Reply View the author
hurric
deepin
2023-03-03 16:30
#12

还好我来论坛查了一下

sudo systemctl start ssh

Reply View the author