Benjamin-Loison / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
0 stars 0 forks source link

[Bug]: Have a constant Termux ssh username #2

Closed Benjamin-Loison closed 9 months ago

Benjamin-Loison commented 9 months ago

Problem description

Instead of for instance:

Steps to reproduce the behavior.

Not read

What is the expected behavior?

No response

System information

romanovj commented 9 months ago

you can use any name and even no name https://github.com/termux/termux-packages/blob/828682d250657fce3f94b2938e1faede424d9303/packages/openssh/auth.c.patch#L9

Benjamin-Loison commented 9 months ago

you can use any name and even no name https://github.com/termux/termux-packages/blob/828682d250657fce3f94b2938e1faede424d9303/packages/openssh/auth.c.patch#L9

Indeed ssh WHATEVER@termuxDevice -p 8022 works (I have not tried it, as it is the first time I see such a behavior), thank you for your input.

By the way, still not interested in answering me? 😁

Just curious, how do you find out this repository?

A side question could be is it possible to do the necessary to not be u0_aXXX but something like termux when proceeding to whoami but as there is no need, let us not answer such an ad hoc question.