cat /etc/ssh/sshd_config | grep Port
Port 2459
#GatewayPorts no
cat /etc/ssh/sshd_config | grep Pubk
PubkeyAuthentication yes
cat /etc/ssh/sshd_config | grep Pass
PasswordAuthentication yes
#PasswordAuthentication yes
#PermitEmptyPasswords no
#KerberosOrLocalPasswd yes
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication, then enable this but set PasswordAuthentication
systemctl status ssh
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/usr/lib/systemd/system/ssh.service; enabled; preset: enabled)
Active: active (running) since Thu 2024-10-31 10:52:22 UTC; 15min ago
TriggeredBy: ● ssh.socket
Docs: man:sshd(8)
man:sshd_config(5)
Process: 2306 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 2308 (sshd)
Tasks: 1 (limit: 18911)
Memory: 1.2M (peak: 1.5M)
CPU: 27ms
CGroup: /system.slice/ssh.service
└─2308 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"
Oct 31 10:52:22 bagrs1 systemd[1]: Starting ssh.service - OpenBSD Secure Shell server...
Oct 31 10:52:22 bagrs1 sshd[2308]: Server listening on :: port 2459.
Oct 31 10:52:22 bagrs1 systemd[1]: Started ssh.service - OpenBSD Secure Shell server.
так раздайте с мобилы сотовую сеть на ваш пк и вот тогда снова попробуйте.
Конечно, вы будете подключаться по внутреннему ip, вы же сами находитесь внутри этой же сети.
ssh sysadmin@prefix.keenetic.pro -p 2459
sysadmin@prefix.keenetic.pro's password:
Permission denied, please try again.
CRON[2307]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
CRON[2307]: pam_unix(cron:session): session closed for user root
sudo: pam_unix(sudo:session): session closed for user root
sudo: sysadmin : TTY=tty1 ; PWD=/home/sysadmin ; USER=root ; COMMAND=/usr/bin/vim /var/log/auth.log
sudo: pam_unix(sudo:session): session opened for user root(uid=0) by sysadmin(uid=1000)
sudo: pam_unix(sudo:session): session closed for user root