您尚未登录。

楼主 # 2022-07-01 04:33:28

Abdulrahman
会员
注册时间: 2022-07-01
已发帖子: 1
积分: 1

Can't establish ssh connection between f1c200s and my laptop

I’m trying to establish an ssh connection between f1c200s and my laptop. In f1c200s I used g_ether module and configured usb otg as ethernet and gave it a static ip

xa1.png

And connected the usb otg to my laptop and gave it a static ip

xa2.png

When trying to ping the address it successfully pings.

xa3.png

But when I try to use ssh it asks for password. Initially I didn’t have any password on the linux image on my f1c200s but I assigned one as one of the solutions I did.

xa4.png

What I did to try to solve the problem 
1.    Assigned a password to root
2.    Changed configuration on /etc/ssh/sshd_config
       a.    PasswordAuthentication yes
       b.    ChallengeResponseAuthentication no
       c.    PermitRootLogin yes

Non of these solution have worked for my and I don’t understand why. It still give me permission denied error no matter what password I put.

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn