ok, here the problem, I found a workaround but I wonder if I can do it otherwise.
This morning I installed and configured DDNS (dynu) and now I can't using scp correctly. Scp from my local pc to OpenWrt router is ok, but scp from my router to pc, or ie; scp root@192.168.1.1:/tmp/backup-*.tar.gz james@pop-os:/media/james/E/openWrt_backup did not work.
kind of error ;
kex_exchange_identification: read: Connection reset by peer
Connection reset by 169.150.204.5 port 22 or sometimes ; port 22: Connection refused
But, it is working if I comment (#) my ddns domain line in my ubuntu config file ; /etc/resolv.conf
2024-12-28T16:29:15.031145-05:00 pop-os sudo: pam_unix(sudo:session): session opened for user root(uid=0) by james(uid=1000)
2024-12-28T16:29:15.035231-05:00 pop-os sudo: pam_unix(sudo:session): session closed for user root
2024-12-28T16:33:08.999818-05:00 pop-os sudo: james : TTY=pts/0 ; PWD=/etc/ssh ; USER=root ; COMMAND=/usr/bin/apt-get install openssh-server
2024-12-28T16:33:09.000715-05:00 pop-os sudo: pam_unix(sudo:session): session opened for user root(uid=0) by james(uid=1000)
2024-12-28T16:33:09.709657-05:00 pop-os sudo: pam_unix(sudo:session): session closed for user root
2024-12-28T16:41:44.223162-05:00 pop-os sudo: james : TTY=pts/0 ; PWD=/etc/ssh ; USER=root ; COMMAND=/usr/bin/systemctl status ssh
2024-12-28T16:41:44.232583-05:00 pop-os sudo: pam_unix(sudo:session): session opened for user root(uid=0) by james(uid=1000)
2024-12-28T16:42:07.160551-05:00 pop-os sudo: pam_unix(sudo:session): session closed for user root
2024-12-28T16:42:10.980626-05:00 pop-os sudo: james : TTY=pts/0 ; PWD=/etc/ssh ; USER=root ; COMMAND=/usr/bin/systemctl restart ssh
2024-12-28T16:42:10.983914-05:00 pop-os sudo: pam_unix(sudo:session): session opened for user root(uid=0) by james(uid=1000)
2024-12-28T16:42:10.992711-05:00 pop-os sshd[9037]: Received signal 15; terminating.
2024-12-28T16:42:11.050882-05:00 pop-os sshd[13583]: Server listening on :: port 22.
2024-12-28T16:42:11.053350-05:00 pop-os sudo: pam_unix(sudo:session): session closed for user root
2024-12-28T16:42:18.116714-05:00 pop-os sudo: james : TTY=pts/0 ; PWD=/etc/ssh ; USER=root ; COMMAND=/usr/sbin/service ssh restart
2024-12-28T16:42:18.118240-05:00 pop-os sudo: pam_unix(sudo:session): session opened for user root(uid=0) by james(uid=1000)
2024-12-28T16:42:18.133593-05:00 pop-os sshd[13583]: Received signal 15; terminating.
2024-12-28T16:42:18.214609-05:00 pop-os sshd[13594]: Server listening on :: port 22.
2024-12-28T16:42:18.217743-05:00 pop-os sudo: pam_unix(sudo:session): session closed for user root