Sunday, 26 July 2026

openssh-server HOW-TO

 


zorin@zorin:~$ sudo su

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# ifconfig

enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255

        inet6 fd00::b292:b857:9f37:afc8  prefixlen 64  scopeid 0x0<global>

        inet6 fe80::305:958e:9c0a:1bf9  prefixlen 64  scopeid 0x20<link>

        inet6 fd00::6311:76e3:2abe:842c  prefixlen 64  scopeid 0x0<global>

        ether 44:8a:5b:ef:ad:5a  txqueuelen 1000  (Ethernet)

        RX packets 72472  bytes 77689849 (77.6 MB)

        RX errors 0  dropped 54  overruns 0  frame 0

        TX packets 27277  bytes 10444085 (10.4 MB)

        TX errors 0  dropped 14 overruns 0  carrier 0  collisions 0

        device interrupt 19  


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 8199  bytes 761341 (761.3 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 8199  bytes 761341 (761.3 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


root@zorin:/home/zorin# ifconfig

enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255

        inet6 fd00::b292:b857:9f37:afc8  prefixlen 64  scopeid 0x0<global>

        inet6 fe80::305:958e:9c0a:1bf9  prefixlen 64  scopeid 0x20<link>

        inet6 fd00::6311:76e3:2abe:842c  prefixlen 64  scopeid 0x0<global>

        ether 44:8a:5b:ef:ad:5a  txqueuelen 1000  (Ethernet)

        RX packets 72895  bytes 78171901 (78.1 MB)

        RX errors 0  dropped 54  overruns 0  frame 0

        TX packets 27373  bytes 10477862 (10.4 MB)

        TX errors 0  dropped 14 overruns 0  carrier 0  collisions 0

        device interrupt 19  


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 8213  bytes 762886 (762.8 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 8213  bytes 762886 (762.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


root@zorin:/home/zorin# ^C

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# apt-get update

Ign:1 cdrom://Zorin-OS 18.1 Core 64bit noble InRelease

Hit:2 cdrom://Zorin-OS 18.1 Core 64bit noble Release

Hit:4 https://packages.microsoft.com/repos/edge-stable stable InRelease                                        

Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease                                          

Hit:6 http://archive.ubuntu.com/ubuntu noble InRelease                                                         

Get:7 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]                                      

Get:8 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]                                        

Hit:9 https://ppa.launchpadcontent.net/zorinos/apps/ubuntu noble InRelease                                     

Hit:10 https://ppa.launchpadcontent.net/zorinos/drivers/ubuntu noble InRelease                                 

Hit:11 https://ppa.launchpadcontent.net/zorinos/patches/ubuntu noble InRelease                                 

Hit:12 https://ppa.launchpadcontent.net/zorinos/stable/ubuntu noble InRelease                                  

Get:13 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [180 kB]                         

Get:14 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [46.3 kB]             

Hit:15 https://packages.zorinos.com/stable noble InRelease                             

Get:16 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [388 kB]

Hit:17 https://packages.zorinos.com/patches noble InRelease                                                    

Get:18 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1,240 kB]

Get:19 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]         

Hit:20 https://packages.zorinos.com/apps noble InRelease                                                       

Hit:21 https://packages.zorinos.com/drivers noble InRelease                               

Get:22 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [281 kB]

Get:23 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [76.4 kB]

Fetched 2,466 kB in 4s (658 kB/s)                                         

Reading package lists... Done

root@zorin:/home/zorin# apt-get install openssh-server

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following additional packages will be installed:

  libncurses6 libncursesw6 libtinfo6 ncurses-base ncurses-bin ncurses-term openssh-client openssh-sftp-server

  ssh-import-id

Suggested packages:

  keychain libpam-ssh monkeysphere ssh-askpass molly-guard

The following NEW packages will be installed:

  ncurses-term openssh-server openssh-sftp-server ssh-import-id

The following packages will be upgraded:

  libncurses6 libncursesw6 libtinfo6 ncurses-base ncurses-bin openssh-client

6 upgraded, 4 newly installed, 0 to remove and 358 not upgraded.

Need to get 2,323 kB of archives.

After this operation, 6,748 kB of additional disk space will be used.

Do you want to continue? [Y/n] Y

Get:1 http://security.ubuntu.com/ubuntu noble-security/main amd64 ncurses-bin amd64 6.4+20240113-1ubuntu2.1 [188 kB]

Get:2 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 ssh-import-id all 5.11-0ubuntu2.24.04.1 [10.1 kB]

Get:3 http://security.ubuntu.com/ubuntu noble-security/main amd64 ncurses-base all 6.4+20240113-1ubuntu2.1 [25.7 kB]

Get:4 http://security.ubuntu.com/ubuntu noble-security/main amd64 openssh-client amd64 1:9.6p1-3ubuntu13.18 [908 kB]

Get:5 http://security.ubuntu.com/ubuntu noble-security/main amd64 openssh-sftp-server amd64 1:9.6p1-3ubuntu13.18 [37.3 kB]

Get:6 http://security.ubuntu.com/ubuntu noble-security/main amd64 openssh-server amd64 1:9.6p1-3ubuntu13.18 [511 kB]

Get:7 http://security.ubuntu.com/ubuntu noble-security/main amd64 libncursesw6 amd64 6.4+20240113-1ubuntu2.1 [148 kB]

Get:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 libncurses6 amd64 6.4+20240113-1ubuntu2.1 [112 kB]

Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 libtinfo6 amd64 6.4+20240113-1ubuntu2.1 [108 kB]

Get:10 http://security.ubuntu.com/ubuntu noble-security/main amd64 ncurses-term all 6.4+20240113-1ubuntu2.1 [275 kB]

Fetched 2,323 kB in 2s (1,054 kB/s)    

Preconfiguring packages ...

(Reading database ... 301883 files and directories currently installed.)

Preparing to unpack .../ncurses-bin_6.4+20240113-1ubuntu2.1_amd64.deb ...

Unpacking ncurses-bin (6.4+20240113-1ubuntu2.1) over (6.4+20240113-1ubuntu2) ...

Setting up ncurses-bin (6.4+20240113-1ubuntu2.1) ...

(Reading database ... 301883 files and directories currently installed.)

Preparing to unpack .../ncurses-base_6.4+20240113-1ubuntu2.1_all.deb ...

Unpacking ncurses-base (6.4+20240113-1ubuntu2.1) over (6.4+20240113-1ubuntu2) ...

Setting up ncurses-base (6.4+20240113-1ubuntu2.1) ...

(Reading database ... 301883 files and directories currently installed.)

Preparing to unpack .../0-openssh-client_1%3a9.6p1-3ubuntu13.18_amd64.deb ...

Unpacking openssh-client (1:9.6p1-3ubuntu13.18) over (1:9.6p1-3ubuntu13.15) ...

Selecting previously unselected package openssh-sftp-server.

Preparing to unpack .../1-openssh-sftp-server_1%3a9.6p1-3ubuntu13.18_amd64.deb ...

Unpacking openssh-sftp-server (1:9.6p1-3ubuntu13.18) ...

Selecting previously unselected package openssh-server.

Preparing to unpack .../2-openssh-server_1%3a9.6p1-3ubuntu13.18_amd64.deb ...

Unpacking openssh-server (1:9.6p1-3ubuntu13.18) ...

Preparing to unpack .../3-libncursesw6_6.4+20240113-1ubuntu2.1_amd64.deb ...

Unpacking libncursesw6:amd64 (6.4+20240113-1ubuntu2.1) over (6.4+20240113-1ubuntu2) ...

Preparing to unpack .../4-libncurses6_6.4+20240113-1ubuntu2.1_amd64.deb ...

Unpacking libncurses6:amd64 (6.4+20240113-1ubuntu2.1) over (6.4+20240113-1ubuntu2) ...

Preparing to unpack .../5-libtinfo6_6.4+20240113-1ubuntu2.1_amd64.deb ...

Unpacking libtinfo6:amd64 (6.4+20240113-1ubuntu2.1) over (6.4+20240113-1ubuntu2) ...

Setting up libtinfo6:amd64 (6.4+20240113-1ubuntu2.1) ...

Selecting previously unselected package ncurses-term.

(Reading database ... 301911 files and directories currently installed.)

Preparing to unpack .../ncurses-term_6.4+20240113-1ubuntu2.1_all.deb ...

Unpacking ncurses-term (6.4+20240113-1ubuntu2.1) ...

Selecting previously unselected package ssh-import-id.

Preparing to unpack .../ssh-import-id_5.11-0ubuntu2.24.04.1_all.deb ...

Unpacking ssh-import-id (5.11-0ubuntu2.24.04.1) ...

Setting up openssh-client (1:9.6p1-3ubuntu13.18) ...

Setting up ssh-import-id (5.11-0ubuntu2.24.04.1) ...

Setting up libncurses6:amd64 (6.4+20240113-1ubuntu2.1) ...

Setting up libncursesw6:amd64 (6.4+20240113-1ubuntu2.1) ...

Setting up ncurses-term (6.4+20240113-1ubuntu2.1) ...

Setting up openssh-sftp-server (1:9.6p1-3ubuntu13.18) ...

Setting up openssh-server (1:9.6p1-3ubuntu13.18) ...


Creating config file /etc/ssh/sshd_config with new version

Creating SSH2 RSA key; this may take some time ...

3072 SHA256:/bA2ew9b11QkVjd1ulDNl/c1r31vZzjHB6MgrZnQD44 root@zorin (RSA)

Creating SSH2 ECDSA key; this may take some time ...

256 SHA256:j3n8UVaFhHiZAl4tn8Y4XDVqnlCzOrTWPYgGoWe1Els root@zorin (ECDSA)

Creating SSH2 ED25519 key; this may take some time ...

256 SHA256:zAAG3DGvOaACvC4SWmrC8EWDY3vErphUBjivoDRxk6Y root@zorin (ED25519)

Created symlink /etc/systemd/system/sockets.target.wants/ssh.socket → /usr/lib/systemd/system/ssh.socket.

Created symlink /etc/systemd/system/ssh.service.requires/ssh.socket → /usr/lib/systemd/system/ssh.socket.

Processing triggers for ufw (0.36.2-6) ...

Processing triggers for man-db (2.12.0-4build2) ...

Processing triggers for libc-bin (2.39-0ubuntu8.7) ...

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# whoami

root

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# systemctl status ssh

○ ssh.service - OpenBSD Secure Shell server

     Loaded: loaded (/usr/lib/systemd/system/ssh.service; disabled; preset: enabled)

     Active: inactive (dead)

TriggeredBy: ● ssh.socket

       Docs: man:sshd(8)

             man:sshd_config(5)

root@zorin:/home/zorin# systemctl enable --now ssh

Synchronizing state of ssh.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.

Executing: /usr/lib/systemd/systemd-sysv-install enable ssh

Created symlink /etc/systemd/system/sshd.service → /usr/lib/systemd/system/ssh.service.

Created symlink /etc/systemd/system/multi-user.target.wants/ssh.service → /usr/lib/systemd/system/ssh.service.

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# systemctl status ssh

● ssh.service - OpenBSD Secure Shell server

     Loaded: loaded (/usr/lib/systemd/system/ssh.service; enabled; preset: enabled)

     Active: active (running) since Sun 2026-07-26 03:53:24 UTC; 6s ago

TriggeredBy: ● ssh.socket

       Docs: man:sshd(8)

             man:sshd_config(5)

    Process: 12118 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)

   Main PID: 12120 (sshd)

      Tasks: 1 (limit: 18930)

     Memory: 1.2M (peak: 1.6M)

        CPU: 21ms

     CGroup: /system.slice/ssh.service

             └─12120 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"


Jul 26 03:53:24 zorin systemd[1]: Starting ssh.service - OpenBSD Secure Shell server...

Jul 26 03:53:24 zorin sshd[12120]: Server listening on 0.0.0.0 port 22.

Jul 26 03:53:24 zorin sshd[12120]: Server listening on :: port 22.

Jul 26 03:53:24 zorin systemd[1]: Started ssh.service - OpenBSD Secure Shell server.

root@zorin:/home/zorin# 

root@zorin:/home/zorin# ifconfig

enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255

        inet6 fd00::b292:b857:9f37:afc8  prefixlen 64  scopeid 0x0<global>

        inet6 fe80::305:958e:9c0a:1bf9  prefixlen 64  scopeid 0x20<link>

        inet6 fd00::6311:76e3:2abe:842c  prefixlen 64  scopeid 0x0<global>

        ether 44:8a:5b:ef:ad:5a  txqueuelen 1000  (Ethernet)

        RX packets 267500  bytes 282819289 (282.8 MB)

        RX errors 0  dropped 516  overruns 0  frame 0

        TX packets 82410  bytes 27537601 (27.5 MB)

        TX errors 0  dropped 14 overruns 0  carrier 0  collisions 0

        device interrupt 19  


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 13768  bytes 1397096 (1.3 MB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 13768  bytes 1397096 (1.3 MB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# cat /etc/passwd

root:x:0:0:root:/root:/bin/bash

daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin

bin:x:2:2:bin:/bin:/usr/sbin/nologin

sys:x:3:3:sys:/dev:/usr/sbin/nologin

sync:x:4:65534:sync:/bin:/bin/sync

games:x:5:60:games:/usr/games:/usr/sbin/nologin

man:x:6:12:man:/var/cache/man:/usr/sbin/nologin

lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin

mail:x:8:8:mail:/var/mail:/usr/sbin/nologin

news:x:9:9:news:/var/spool/news:/usr/sbin/nologin

uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin

proxy:x:13:13:proxy:/bin:/usr/sbin/nologin

www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin

backup:x:34:34:backup:/var/backups:/usr/sbin/nologin

list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin

irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin

_apt:x:42:65534::/nonexistent:/usr/sbin/nologin

nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin

systemd-network:x:998:998:systemd Network Management:/:/usr/sbin/nologin

systemd-timesync:x:996:996:systemd Time Synchronization:/:/usr/sbin/nologin

dhcpcd:x:100:65534:DHCP Client Daemon,,,:/usr/lib/dhcpcd:/bin/false

messagebus:x:101:101::/nonexistent:/usr/sbin/nologin

syslog:x:102:102::/nonexistent:/usr/sbin/nologin

systemd-resolve:x:991:991:systemd Resolver:/:/usr/sbin/nologin

polkitd:x:990:990:User for polkitd:/:/usr/sbin/nologin

usbmux:x:103:46:usbmux daemon,,,:/var/lib/usbmux:/usr/sbin/nologin

tss:x:104:103:TPM software stack,,,:/var/lib/tpm:/bin/false

rtkit:x:105:104:RealtimeKit,,,:/proc:/usr/sbin/nologin

kernoops:x:106:65534:Kernel Oops Tracking Daemon,,,:/:/usr/sbin/nologin

uuidd:x:107:106::/run/uuidd:/usr/sbin/nologin

systemd-oom:x:989:989:systemd Userspace OOM Killer:/:/usr/sbin/nologin

whoopsie:x:108:107::/nonexistent:/bin/false

dnsmasq:x:999:65534:dnsmasq:/var/lib/misc:/usr/sbin/nologin

_flatpak:x:109:112:Flatpak system-wide installation helper,,,:/nonexistent:/usr/sbin/nologin

avahi:x:110:113:Avahi mDNS daemon,,,:/run/avahi-daemon:/usr/sbin/nologin

nm-openvpn:x:111:114:NetworkManager OpenVPN,,,:/var/lib/openvpn/chroot:/usr/sbin/nologin

tcpdump:x:112:115::/nonexistent:/usr/sbin/nologin

sssd:x:113:116:SSSD system user,,,:/var/lib/sss:/usr/sbin/nologin

speech-dispatcher:x:114:29:Speech Dispatcher,,,:/run/speech-dispatcher:/bin/false

cups-pk-helper:x:115:117:user for cups-pk-helper service,,,:/nonexistent:/usr/sbin/nologin

fwupd-refresh:x:988:988:Firmware update daemon:/var/lib/fwupd:/usr/sbin/nologin

geoclue:x:116:118::/var/lib/geoclue:/usr/sbin/nologin

cups-browsed:x:117:117::/nonexistent:/usr/sbin/nologin

saned:x:118:120::/var/lib/saned:/usr/sbin/nologin

colord:x:119:122:colord colour management daemon,,,:/var/lib/colord:/usr/sbin/nologin

hplip:x:120:7:HPLIP system user,,,:/run/hplip:/bin/false

gnome-remote-desktop:x:987:987:GNOME Remote Desktop:/var/lib/gnome-remote-desktop:/usr/sbin/nologin

gdm:x:121:123:Gnome Display Manager:/var/lib/gdm3:/bin/false

zorin:x:1000:1000:Live session user,,,:/home/zorin:/bin/bash

ftp:x:122:126:FileZilla Server default system user,,,:/nonexistent:/usr/sbin/nologin

norizan:x:1001:1001:Norizan bin Hassan,777,,:/home/norizan:/bin/bash

sshd:x:123:65534::/run/sshd:/usr/sbin/nologin

root@zorin:/home/zorin# systemctl status ssh

● ssh.service - OpenBSD Secure Shell server

     Loaded: loaded (/usr/lib/systemd/system/ssh.service; enabled; preset: enabled)

     Active: active (running) since Sun 2026-07-26 03:53:24 UTC; 54min ago

TriggeredBy: ● ssh.socket

       Docs: man:sshd(8)

             man:sshd_config(5)

    Process: 12118 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)

   Main PID: 12120 (sshd)

      Tasks: 1 (limit: 18930)

     Memory: 1.2M (peak: 1.6M)

        CPU: 21ms

     CGroup: /system.slice/ssh.service

             └─12120 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"


Jul 26 03:53:24 zorin systemd[1]: Starting ssh.service - OpenBSD Secure Shell server...

Jul 26 03:53:24 zorin sshd[12120]: Server listening on 0.0.0.0 port 22.

Jul 26 03:53:24 zorin sshd[12120]: Server listening on :: port 22.

Jul 26 03:53:24 zorin systemd[1]: Started ssh.service - OpenBSD Secure Shell server.

root@zorin:/home/zorin# ifconfig

enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255

        inet6 fd00::b292:b857:9f37:afc8  prefixlen 64  scopeid 0x0<global>

        inet6 fe80::305:958e:9c0a:1bf9  prefixlen 64  scopeid 0x20<link>

        inet6 fd00::6311:76e3:2abe:842c  prefixlen 64  scopeid 0x0<global>

        ether 44:8a:5b:ef:ad:5a  txqueuelen 1000  (Ethernet)

        RX packets 277580  bytes 285519326 (285.5 MB)

        RX errors 0  dropped 647  overruns 0  frame 0

        TX packets 90099  bytes 30139137 (30.1 MB)

        TX errors 0  dropped 14 overruns 0  carrier 0  collisions 0

        device interrupt 19  


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 14822  bytes 1510736 (1.5 MB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 14822  bytes 1510736 (1.5 MB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# systemctl start ssh

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# ifconfig

enp4s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 44:8a:5b:ef:ad:5a  txqueuelen 1000  (Ethernet)

        RX packets 331264  bytes 338571292 (338.5 MB)

        RX errors 0  dropped 832  overruns 0  frame 0

        TX packets 108663  bytes 34796936 (34.7 MB)

        TX errors 0  dropped 26 overruns 0  carrier 0  collisions 0

        device interrupt 19  


enx00e04c3615f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.1.6  netmask 255.255.255.0  broadcast 192.168.1.255

        inet6 fe80::d86b:b139:3c5b:986b  prefixlen 64  scopeid 0x20<link>

        inet6 fd00::9d86:b850:d344:3e21  prefixlen 64  scopeid 0x0<global>

        inet6 fd00::167a:556b:b570:4fea  prefixlen 64  scopeid 0x0<global>

        ether 00:e0:4c:36:15:f3  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 20083  bytes 2046875 (2.0 MB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 20083  bytes 2046875 (2.0 MB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


root@zorin:/home/zorin# ifconfig

enp4s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 44:8a:5b:ef:ad:5a  txqueuelen 1000  (Ethernet)

        RX packets 331264  bytes 338571292 (338.5 MB)

        RX errors 0  dropped 832  overruns 0  frame 0

        TX packets 108663  bytes 34796936 (34.7 MB)

        TX errors 0  dropped 26 overruns 0  carrier 0  collisions 0

        device interrupt 19  


enx00e04c3615f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.1.6  netmask 255.255.255.0  broadcast 192.168.1.255

        inet6 fe80::d86b:b139:3c5b:986b  prefixlen 64  scopeid 0x20<link>

        inet6 fd00::9d86:b850:d344:3e21  prefixlen 64  scopeid 0x0<global>

        inet6 fd00::167a:556b:b570:4fea  prefixlen 64  scopeid 0x0<global>

        ether 00:e0:4c:36:15:f3  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 20083  bytes 2046875 (2.0 MB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 20083  bytes 2046875 (2.0 MB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


root@zorin:/home/zorin# whoami

root

root@zorin:/home/zorin# password root

Command 'password' not found, did you mean:

  command '1password' from snap 1password (8.11.14)

  command '5password' from snap 5password (0.3)

  command 'assword' from deb assword (0.12.2-1)

See 'snap info <snapname>' for additional versions.

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# whoami

root

root@zorin:/home/zorin# passwd root

New password: 

BAD PASSWORD: The password fails the dictionary check - it does not contain enough DIFFERENT characters

Retype new password: 

passwd: password updated successfully

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# systemctl status ssh

● ssh.service - OpenBSD Secure Shell server

     Loaded: loaded (/usr/lib/systemd/system/ssh.service; enabled; preset: enabled)

     Active: active (running) since Sun 2026-07-26 03:53:24 UTC; 2h 58min ago

TriggeredBy: ● ssh.socket

       Docs: man:sshd(8)

             man:sshd_config(5)

    Process: 12118 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)

   Main PID: 12120 (sshd)

      Tasks: 1 (limit: 18930)

     Memory: 1.3M (peak: 20.5M)

        CPU: 674ms

     CGroup: /system.slice/ssh.service

             └─12120 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"


Jul 26 06:48:28 zorin sshd[14886]: Received disconnect from 192.168.1.12 port 51254:11:  [preauth]

Jul 26 06:48:28 zorin sshd[14886]: Disconnected from authenticating user root 192.168.1.12 port 51254 [preauth]

Jul 26 06:48:33 zorin sshd[14889]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.>

Jul 26 06:48:35 zorin sshd[14889]: Failed password for root from 192.168.1.12 port 51255 ssh2

Jul 26 06:48:36 zorin sshd[14889]: Received disconnect from 192.168.1.12 port 51255:11:  [preauth]

Jul 26 06:48:36 zorin sshd[14889]: Disconnected from authenticating user root 192.168.1.12 port 51255 [preauth]

Jul 26 06:49:02 zorin sshd[14891]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.>

Jul 26 06:49:04 zorin sshd[14891]: Failed password for norizan from 192.168.1.12 port 51257 ssh2

Jul 26 06:49:06 zorin sshd[14891]: Received disconnect from 192.168.1.12 port 51257:11:  [preauth]

Jul 26 06:49:06 zorin sshd[14891]: Disconnected from authenticating user norizan 192.168.1.12 port 51257 [preauth]


root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# whoami

root

root@zorin:/home/zorin# cat /etc/passwd

root:x:0:0:root:/root:/bin/bash

daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin

bin:x:2:2:bin:/bin:/usr/sbin/nologin

sys:x:3:3:sys:/dev:/usr/sbin/nologin

sync:x:4:65534:sync:/bin:/bin/sync

games:x:5:60:games:/usr/games:/usr/sbin/nologin

man:x:6:12:man:/var/cache/man:/usr/sbin/nologin

lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin

mail:x:8:8:mail:/var/mail:/usr/sbin/nologin

news:x:9:9:news:/var/spool/news:/usr/sbin/nologin

uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin

proxy:x:13:13:proxy:/bin:/usr/sbin/nologin

www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin

backup:x:34:34:backup:/var/backups:/usr/sbin/nologin

list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin

irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin

_apt:x:42:65534::/nonexistent:/usr/sbin/nologin

nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin

systemd-network:x:998:998:systemd Network Management:/:/usr/sbin/nologin

systemd-timesync:x:996:996:systemd Time Synchronization:/:/usr/sbin/nologin

dhcpcd:x:100:65534:DHCP Client Daemon,,,:/usr/lib/dhcpcd:/bin/false

messagebus:x:101:101::/nonexistent:/usr/sbin/nologin

syslog:x:102:102::/nonexistent:/usr/sbin/nologin

systemd-resolve:x:991:991:systemd Resolver:/:/usr/sbin/nologin

polkitd:x:990:990:User for polkitd:/:/usr/sbin/nologin

usbmux:x:103:46:usbmux daemon,,,:/var/lib/usbmux:/usr/sbin/nologin

tss:x:104:103:TPM software stack,,,:/var/lib/tpm:/bin/false

rtkit:x:105:104:RealtimeKit,,,:/proc:/usr/sbin/nologin

kernoops:x:106:65534:Kernel Oops Tracking Daemon,,,:/:/usr/sbin/nologin

uuidd:x:107:106::/run/uuidd:/usr/sbin/nologin

systemd-oom:x:989:989:systemd Userspace OOM Killer:/:/usr/sbin/nologin

whoopsie:x:108:107::/nonexistent:/bin/false

dnsmasq:x:999:65534:dnsmasq:/var/lib/misc:/usr/sbin/nologin

_flatpak:x:109:112:Flatpak system-wide installation helper,,,:/nonexistent:/usr/sbin/nologin

avahi:x:110:113:Avahi mDNS daemon,,,:/run/avahi-daemon:/usr/sbin/nologin

nm-openvpn:x:111:114:NetworkManager OpenVPN,,,:/var/lib/openvpn/chroot:/usr/sbin/nologin

tcpdump:x:112:115::/nonexistent:/usr/sbin/nologin

sssd:x:113:116:SSSD system user,,,:/var/lib/sss:/usr/sbin/nologin

speech-dispatcher:x:114:29:Speech Dispatcher,,,:/run/speech-dispatcher:/bin/false

cups-pk-helper:x:115:117:user for cups-pk-helper service,,,:/nonexistent:/usr/sbin/nologin

fwupd-refresh:x:988:988:Firmware update daemon:/var/lib/fwupd:/usr/sbin/nologin

geoclue:x:116:118::/var/lib/geoclue:/usr/sbin/nologin

cups-browsed:x:117:117::/nonexistent:/usr/sbin/nologin

saned:x:118:120::/var/lib/saned:/usr/sbin/nologin

colord:x:119:122:colord colour management daemon,,,:/var/lib/colord:/usr/sbin/nologin

hplip:x:120:7:HPLIP system user,,,:/run/hplip:/bin/false

gnome-remote-desktop:x:987:987:GNOME Remote Desktop:/var/lib/gnome-remote-desktop:/usr/sbin/nologin

gdm:x:121:123:Gnome Display Manager:/var/lib/gdm3:/bin/false

zorin:x:1000:1000:Live session user,,,:/home/zorin:/bin/bash

ftp:x:122:126:FileZilla Server default system user,,,:/nonexistent:/usr/sbin/nologin

norizan:x:1001:1001:Norizan bin Hassan,777,,:/home/norizan:/bin/bash

sshd:x:123:65534::/run/sshd:/usr/sbin/nologin

root@zorin:/home/zorin# ifconfig

enp4s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 44:8a:5b:ef:ad:5a  txqueuelen 1000  (Ethernet)

        RX packets 331264  bytes 338571292 (338.5 MB)

        RX errors 0  dropped 832  overruns 0  frame 0

        TX packets 108663  bytes 34796936 (34.7 MB)

        TX errors 0  dropped 26 overruns 0  carrier 0  collisions 0

        device interrupt 19  


enx00e04c3615f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.1.6  netmask 255.255.255.0  broadcast 192.168.1.255

        inet6 fe80::d86b:b139:3c5b:986b  prefixlen 64  scopeid 0x20<link>

        inet6 fd00::9d86:b850:d344:3e21  prefixlen 64  scopeid 0x0<global>

        inet6 fd00::167a:556b:b570:4fea  prefixlen 64  scopeid 0x0<global>

        ether 00:e0:4c:36:15:f3  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 21809  bytes 2245576 (2.2 MB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 21809  bytes 2245576 (2.2 MB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


root@zorin:/home/zorin# 

root@zorin:/home/zorin# 

root@zorin:/home/zorin# dpkg -l grep|filezilla

Reading locale option from /root/.config/filezilla/filezilla.xml

wxD-Bus: Signal from /org/freedesktop/DBus, member NameAcquired

wxD-Bus: Reply with serial 3

wxD-Bus: Signal: Error: The name org.gnome.SessionManager was not provided by any .service files

root@zorin:/home/zorin# 


No comments:

Post a Comment