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

No connection after 'passwd' command #3

Open
hepter opened this issue Sep 6, 2022 · 0 comments
Open

No connection after 'passwd' command #3

hepter opened this issue Sep 6, 2022 · 0 comments

Comments

@hepter
Copy link

hepter commented Sep 6, 2022

Hi,
It's not about the script, but I want to ask a post-access question.

After logging in I ran the 'passwd' command for ssh without paying attention but now I've lost access either way. I can no longer use telnet.

I tried the following commands;

ssh root@192.168.1.1
ssh: connect to host 192.168.1.1 port 22: Connection refused
-------------
telnet 192.168.1.1
Connecting To 192.168.1.1...
Could not open connection to the host, on port 23: Connect failed

Is there any way I can regain access?

Thanks

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

1 participant