Lost SSH access after enabling ufw for MySQL on Ubuntu instance
0
votes
1
answer
45
views
I've an instance created in my aws account, this instance was created with Ubuntu image system, the sequence of the packages installation is, Java and MySQL, after install mysql I initiate the configuration of UFW for 3306 port to communicate Workbench Windows to mysql on ubuntu, when I type the command "ufw enable" the ufw says that ssh can be destroyed and ask me "yes" or "no", after answering "yes" I lose my ubuntu system, if I open another connection to my ip address the result is:
"Command 'lesspipe' is available in the following places
* /bin/lesspipe
* /usr/bin/lesspipe
The command could not be located because '/bin:/usr/bin' is not included in the PATH environment variable.
lesspipe: command not found
Command 'dircolors' is available in the following places
* /bin/dircolors
* /usr/bin/dircolors
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable.
dircolors: command not found"
but I don't have access to any command of ubuntu system. I don't have any idea how to solve this problem.
Thanks and best regards.
Asked by Cezar Apulchro.
(1 rep)
Sep 27, 2024, 09:17 PM
Last activity: Sep 28, 2024, 07:27 AM
Last activity: Sep 28, 2024, 07:27 AM