Main free SSH providers:
- localhost.run
- remote.moe
- srv.us
- serveo.net
Pre-install known hostname for the localhost.run. The problem is that the RSA pubkey is big. Need to ask generate a ed25519.
Support for localhost.run out of the box and extract the domain.
Interesting that SSH supports dynamic allocation of a remote port. If you specified 0 then a server may take any free port and return it to you.
To get it you can execute ssh -O forward.
https://unix.stackexchange.com/a/584505/162125
Maybe on the SSH protocol level it's also possible to request an external domain that was allocated for you.
Then there will be no need for execution of a special command or checking logs to get the domain.
Main free SSH providers:
Pre-install known hostname for the localhost.run. The problem is that the RSA pubkey is big. Need to ask generate a ed25519.
Support for localhost.run out of the box and extract the domain.
Interesting that SSH supports dynamic allocation of a remote port. If you specified 0 then a server may take any free port and return it to you.
To get it you can execute
ssh -O forward.https://unix.stackexchange.com/a/584505/162125
Maybe on the SSH protocol level it's also possible to request an external domain that was allocated for you.
Then there will be no need for execution of a special command or checking logs to get the domain.