Text Editor for SSH jobs

When running SSH jobs to debug failed jobs, there was an available text editor like vim before. Now I don’t know what to use. There doesn’t seem to be anything available like vim or nano. Is there anything I can use?

This depends on the image that your build is running in. Can you share what image you are using?