[Newbies] Deepin系统无法用winscp访问?
Tofloor
poster avatar
bluerain001
deepin
2025-01-03 15:55
Author

图片.png

看网上说可能是没修改ssh配置文件,后来我又去修改这个配置文件:

图片.png

重启以后,发现还是连不上

图片.png

大佬有没有遇到相同得情况?帮助一下

Reply Favorite View the author
All Replies
expskywalker
deepin
2025-01-03 16:22
#1

sshd装了没

Reply View the author
expskywalker
deepin
2025-01-03 16:27
#2

是否开了防火墙,v23版本直接安装sshd,服务启动后,无需改动配置文件通过winscp可直接访问。

Reply View the author
expskywalker
deepin
2025-01-03 16:27
#3

或者用其他用户试试。

Reply View the author
neko
deepin
Ecological co-builder
Resources Team Moderator
2025-01-03 23:39
#4

设置了root密码吗

Reply View the author
bluerain001
deepin
2025-01-06 08:51
#5
expskywalker

sshd装了没

装了

Reply View the author
bluerain001
deepin
2025-01-06 08:51
#6
expskywalker

是否开了防火墙,v23版本直接安装sshd,服务启动后,无需改动配置文件通过winscp可直接访问。

防火墙早就关了

Reply View the author
bluerain001
deepin
2025-01-06 08:51
#7
expskywalker

或者用其他用户试试。

其他用户也试了不行

Reply View the author
bluerain001
deepin
2025-01-06 08:53
#8
expskywalker

是否开了防火墙,v23版本直接安装sshd,服务启动后,无需改动配置文件通过winscp可直接访问。

我看了下,确实也是23版本得

Reply View the author
bluerain001
deepin
2025-01-06 09:03
#9
neko

设置了root密码吗

设置了,我是用普通用户登录系统,进去打开终端,输入su和密码,切换管理员账号,在操作其他

Reply View the author
expskywalker
deepin
2025-01-06 09:05
#10

截图提示root用户问题,安装系统时要设置一个非root管理员用户。用这个用户安装sshd再启动试试。

Reply View the author
bluerain001
deepin
2025-01-06 09:05
#11

我突然想到,我用Xshell,就可以访问deepin系统,这就奇了怪了

Reply View the author
bluerain001
deepin
2025-01-06 09:08
#12

用winscp可以访问了,那问题原因应该找到了,应该是auth认证有限制时间,在没修改配置文件得时候,访问拒绝,给我设置了一个过期时间,才可以访问。后来我把配置文件设置好了,过期时间还没到。所以配置文件虽然正确了,但是还是不允许访问

Reply View the author
bluerain001
deepin
2025-01-06 09:08
#13

感谢各位大佬得帮助啊

Reply View the author
bluerain001
deepin
2025-01-06 09:09
#14
expskywalker

截图提示root用户问题,安装系统时要设置一个非root管理员用户。用这个用户安装sshd再启动试试。

好使了,可能就是设置了一个过期时间得事

Reply View the author