Ssh problems trying to login !!

Hi everyone,

Ubiquiti:
WLAN0 → 10.77.14.155
LAN0 → 192.168.1.10
MK
LAN → 192.168.1.1

I forward in my Ubiquit from the WLAN0 to the SSH port in my MK and works but not complete, because when i trying to login the credentials fail, and i check the password 1000 and works, even i successfully login in my computer with the address 192.168.1.5 and works too

The sames happen with the Webproxy service… just work in the segment 192.168.1.X

What’s happen here ??

Best regards

LAN0 and LAN are in the same subnet.
How is the MKT set up? Just bridged (all ports are LAN) , or as gateway (WAN and LAN ports)?
As gateway subnets must be different (are routed) and access via the WAN port is disabled by default.

Hi,

My MK is a RouterBOARD SXTsq G-5acD

The Ubiquiti and MK share the same UTP cable.

Switch → (Ubiquiti)LAN1
(Ubiquiti)LAN0 → MK (BRIDGE)

Ubiquiti:
WLAN0 → 10.77.14.155 (Game NetWork)
LAN0 → 192.168.1.10
MK
LAN → 192.168.1.1

MK is connected to my ISP and Ubiquiti to a game network.

Ubiquiti is on router mode. → Nat mode
MK is a router too → Nat mode

MK is a GateWay you’re right..

Can you explain me this pls..

“As gateway subnets must be different (are routed) and access via the WAN port is disabled by default.”

Sorry don’t understand your way of reporting the config.

Now is see:
Ubiquiti with 2 switched interfaces, and one WLAN with NAT and routed

  • WLAN0 -->10.77.14.155 (Game NetWork) routed +NAT
  • LAN0 → 192.168.1.10 to Mikrotik
  • LAN1 → to unknown switch
    MK with routed NAT connection
  • LAN → 192.168.1.1 to Ubiquiti (LAN interface list)
    -WLAN → routed NAT to ISP (WAN interface list)

Access is “port forward in Ubiquity” from WLAN0 to 192.168.1.1 .
SSH is not working (no login) via this forwarded connection.

Found this recommendation via Google :"You need to run ssh (the client, and possibly the server) with more verbosity to understand why authentication is failing. For the client, run
ssh -vvv username@host "

I see that you are not very familiar with Mikrotik devices.

If I were you I would try to debug. Use something tail or something like it if you’re running Windows. Enable logging ssh debug on your MK device. There might be a problem.
I have a similar problem and /ip ssh regenerate-host-key resolve the problem.
If this doesn’t help you, post your config from MK device here.

Maybe also check your Routeros version , and the known problems

What’s new in 6.47beta60 (2020-Apr-24 07:38):

*) ssh - fixed SHA256 user authentication algorithm checking (introduced in v6.46.4);

If you use MT as a pure Switch, this will work.
If you do Routing NAT etc, you can not have same IP net on inside/outside of MT Router.

Can you post the config of out MT Router?

/export hide-sensitive