Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh: connect to host 192.168.31.1 port 22: Connection refused #194

Open
max-end opened this issue Aug 17, 2024 · 2 comments
Open

ssh: connect to host 192.168.31.1 port 22: Connection refused #194

max-end opened this issue Aug 17, 2024 · 2 comments

Comments

@max-end
Copy link

max-end commented Aug 17, 2024

r4a version: 2.30.28

Router IP address [press enter for using the default 'miwifi.com']:
Enter router admin password: 12345678
There two options to provide the files needed for invasion:

  1. Use a local TCP file server runing on random port to provide files in local directory script_tools.
  2. Download needed files from remote github repository. (choose this option only if github is accessable inside router device.)
    Which option do you prefer? (default: 1)

router_ip_address: miwifi.com
stok: c95a79437de2ca690ee3e53797533537
file provider: local file server


start uploading config file...
start exec command...
local file server is runing on 0.0.0.0:39891. root='script_tools'
done! Now you can connect to the router using several options: (user: root, password: root)

  • telnet miwifi.com
  • ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/dev/null [email protected]
  • ftp: using a program like cyberduck

ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/dev/null [email protected]
ssh: connect to host miwifi.com port 22: Connection refused

telnet 192.168.31.1
Connecting To 192.168.31.1...Could not open connection to the host, on port 23: Connect failed

ssh [email protected]
ssh: connect to host 192.168.31.1 port 22: Connection refused

@XZC1516
Copy link

XZC1516 commented Oct 26, 2024

I have the same issue, mine is running with docker and I turn off the firewall but link 22 is also failing

@MonsterSe7en
Copy link

Same issue.... How do I resolve this

C:\Users\Monster>docker run --network host -it openwrtinvasion
Router IP address [press enter for using the default 'miwifi.com']: 192.168.31.1
Enter router admin password: rootroot
There two options to provide the files needed for invasion:

  1. Use a local TCP file server runing on random port to provide files in local directory script_tools.
  2. Download needed files from remote github repository. (choose this option only if github is accessable inside router device.)
    Which option do you prefer? (default: 1)1

router_ip_address: 192.168.31.1
stok: f01f929538235058c1e9ff4f909c9691
file provider: local file server


start uploading config file...
start exec command...
local file server is runing on 0.0.0.0:53761. root='script_tools'
Warning: the process has finished, but seems like ssh connection to the router is not working as expected.


C:\Users\Monster>telnet 192.168.31.1
Connecting To 192.168.31.1...Could not open connection to the host, on port 23: Connect failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants