ericwq / aprilsh

remote shell support intermittent or mobile network.
MIT License
5 stars 0 forks source link

customized port doesn't work #49

Closed ericwq closed 8 months ago

ericwq commented 8 months ago
~/.local/bin/apsh -p 60100 ide@localhost:8022
time=2024-02-19T10:58:32.077+08:00 level=WARN msg="No connection within x seconds" seconds=15
                                                                                             apsh did not make a successful connection to localhost:60001.
Please verify that UDP port 60001 is not firewalled and can reach the server.

By default, apsh uses a UDP port between 60000 and 61000. The -p option
selects a initial UDP port number.
ericwq commented 8 months ago

verified.

qiwang@Qi15Pro client % GOCOVERDIR=./coverage/int  ~/.local/bin/apsh -p 60100 root@localhost:8022
The authenticity of host 'localhost:8022 ([::1]:8022)' can't be established.
ECDSA-SHA2-NISTP256 key fingerprint is SHA256:7kG09hr4PefUaFvjT+O3LAPWHPY9CcAxu/eiaYawBRM.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])?yes
Warning: Permanently added 'localhost:8022' (ECDSA-SHA2-NISTP256) to the list of known hosts.
Welcome to Alpine!

The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See <https://wiki.alpinelinux.org/>.

You can setup the system with the command: setup-alpine

You may change this message by editing /etc/motd.

openrc-abuild:~#