Help ssh connection refused

Dear all

when i do ssh from my pc to mikrotik router i have to face error “connection refused” please help me what i do if a need any rule for ssh please tell the rule configuration
ssh connection refused error.JPG

Sounds like something in the firewall.
If you can, please post “/ip firewall filter” and “/ip address”.
If you can’t get in with ssh, set up Winbox on a Windows computer and connect to a localnet. It will connect by mac address.
What device is this?
What version OS?

mikrotik version 3.30 dear if any firewall rule need please tell me how do i configure this rule .

hi all,

can any one help me about ssh please do try to resolve my problem i want to do ssh from my xp pc to mikrotik 3.30 version router then i face the error connection refused please tell what should i do if need any rule please tell me in detail and i have also attached a snap shot which is mentioned above.

thankyou

Post the output of “/ip address print detail”, “/ip route print detail”, “/interface print”, “/ip firewall export”, “/ip serive print”, and an accurate network diagram. Also post the output of “ipconfig /all” on the Windows machine you’re trying from. Wrap those things in

 tags so they're easy to read.

Dear fewi ,

how are you i have attached snapshot files which you were ask for from me please help me how to ssh my xp pc to mikrotik please complete detail with snap shot i will be very very thankfull to you friend dear one more thing i have tried to change the ip address as well but no work my old ip address was 10.0.0.0/24 now new one is 192.168.50.0/24.

thankyou.

dear another 3 files are attached here.

While waiting for fewi, have you tried the ssh connection again with the new ip?
ssh 192.168.50.2 -l admin
The “-l” is a lower case L.

Dear surfertim ,

it is not work as well please find out the solution for this problem .

thankyou.
no work.JPG

How about this?
ping 192.168.50.2
Do you get a response?

ADD: I recommend changing your masquerade.

/ip firewall nat
add chain=srcnat action=masquerade out-interface=ether1

…and you are certain there is nothing in “/ip firewall filter”?

Please run the commands in the terminal and copy and paste the text output and paste it in

 tags. Not only do screenshots hide information by not showing all the columns, text also makes it easy to copy/paste your configuration into new commands to run to fix the issue. Lastly I'm on a tiny phone screen all day and I do not want to squint.

Dear fewi .

please do me a favour can you please send me the complete configuration for ssh i will follow that.

thanks

If you have no rules in the firewall filter, then it should work just like Winbox.
What SSL program are you using? I use PuTTY with Windows. It works well with MT routers.

No, I cannot. No one can. SSH works out of the box, so you either applied some configuration that makes it not work, or your router or computer are misconfigured. Therefore you need to provide the configuration of the router and computer if you want any help. Just open Winbox, click the New Terminal button, paste in in the commands I posted, and copy the output you get and post it here.

I had the same problem recently. Seemed to stop working after upgrading to 6.0rc7
Open your router in Winbox and navigate to ip–>services
Under the list of services make sure that SSH is enabled, and on port 22. As long as this is enabled and you have no entries in Ip–>Firewall–>Filter Rules, or any rules under IP–>Firewall–>NAT pointing to port 22, this should work for you…