Once you’ve completed these steps, your OpenSSH server will be active and ready for file transfers between Ubuntu and Windows.
Would you like me to also walk you through how to find your Ubuntu IP address so you can connect from Windows, or focus on configuring FileZilla client for smoother transfers?
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan# ipconfig
Command 'ipconfig' not found, did you mean:
command 'iwconfig' from deb wireless-tools (30~pre9-13.1ubuntu4)
command 'hipconfig' from deb hipcc (5.2.3-12)
command 'ifconfig' from deb net-tools (2.10-0.1ubuntu4.4)
command 'iconfig' from deb ipmiutil (3.1.9-3)
Try: apt install <deb name>
root@MSI:/home/norizan# ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.8 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fd00::2893:46a9:fb0f:dec prefixlen 64 scopeid 0x0<global>
inet6 fd00::ff1b:5951:9709:1471 prefixlen 64 scopeid 0x0<global>
inet6 fe80::694e:fd0c:cd17:420c prefixlen 64 scopeid 0x20<link>
ether e0:69:95:ab:8f:24 txqueuelen 1000 (Ethernet)
RX packets 899823 bytes 1250595997 (1.2 GB)
RX errors 0 dropped 4 overruns 0 frame 0
TX packets 388784 bytes 60895887 (60.8 MB)
TX errors 0 dropped 16 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xfe700000-fe720000
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 8292 bytes 988163 (988.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8292 bytes 988163 (988.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan# 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 348 not upgraded.
Need to get 834 kB/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://my.archive.ubuntu.com/ubuntu noble-updates/main amd64 openssh-sftp-server amd64 1:9.6p1-3ubuntu13.18 [37.3 kB]
Get:2 http://my.archive.ubuntu.com/ubuntu noble-updates/main amd64 openssh-server amd64 1:9.6p1-3ubuntu13.18 [511 kB]
Get:3 http://my.archive.ubuntu.com/ubuntu noble-updates/main amd64 ncurses-term all 6.4+20240113-1ubuntu2.1 [275 kB]
Get:4 http://my.archive.ubuntu.com/ubuntu noble-updates/main amd64 ssh-import-id all 5.11-0ubuntu2.24.04.1 [10.1 kB]
Fetched 834 kB in 1s (956 kB/s)
Preconfiguring packages ...
(Reading database ... 162482 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 ... 162482 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 ... 162482 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.14) ...
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 ... 162510 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
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.8) ...
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan# dpkg -l | grep openssh-server
ii openssh-server 1:9.6p1-3ubuntu13.18 amd64 secure shell (SSH) server, for secure access from remote machines
root@MSI:/home/norizan#
root@MSI:/home/norizan# 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@MSI:/home/norizan#
root@MSI:/home/norizan# systemctl start ssh
root@MSI:/home/norizan#
root@MSI:/home/norizan# systemctl status ssh
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/usr/lib/systemd/system/ssh.service; disabled; preset: enabled)
Active: active (running) since Wed 2026-09-02 18:57:29 +08; 8s ago
TriggeredBy: ● ssh.socket
Docs: man:sshd(8)
man:sshd_config(5)
Process: 18453 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 18454 (sshd)
Tasks: 1 (limit: 34981)
Memory: 1.4M (peak: 1.4M)
CPU: 23ms
CGroup: /system.slice/ssh.service
└─18454 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"
Sep 02 18:57:29 MSI systemd[1]: Starting ssh.service - OpenBSD Secure Shell server...
Sep 02 18:57:29 MSI sshd[18454]: Server listening on 0.0.0.0 port 22.
Sep 02 18:57:29 MSI sshd[18454]: Server listening on :: port 22.
Sep 02 18:57:29 MSI systemd[1]: Started ssh.service - OpenBSD Secure Shell server.
root@MSI:/home/norizan#
root@MSI:/home/norizan# ufw allow ssh
Rules updated
Rules updated (v6)
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan# ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.8 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fd00::2893:46a9:fb0f:dec prefixlen 64 scopeid 0x0<global>
inet6 fd00::ff1b:5951:9709:1471 prefixlen 64 scopeid 0x0<global>
inet6 fe80::694e:fd0c:cd17:420c prefixlen 64 scopeid 0x20<link>
ether e0:69:95:ab:8f:24 txqueuelen 1000 (Ethernet)
RX packets 988329 bytes 1337455790 (1.3 GB)
RX errors 0 dropped 8 overruns 0 frame 0
TX packets 448074 bytes 91643062 (91.6 MB)
TX errors 0 dropped 16 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xfe700000-fe720000
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 12536 bytes 1514763 (1.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12536 bytes 1514763 (1.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan# 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
uuidd:x:103:103::/run/uuidd:/usr/sbin/nologin
usbmux:x:104:46:usbmux daemon,,,:/var/lib/usbmux:/usr/sbin/nologin
tss:x:105:105:TPM software stack,,,:/var/lib/tpm:/bin/false
systemd-oom:x:990:990:systemd Userspace OOM Killer:/:/usr/sbin/nologin
kernoops:x:106:65534:Kernel Oops Tracking Daemon,,,:/:/usr/sbin/nologin
whoopsie:x:107:109::/nonexistent:/bin/false
dnsmasq:x:999:65534:dnsmasq:/var/lib/misc:/usr/sbin/nologin
avahi:x:108:111:Avahi mDNS daemon,,,:/run/avahi-daemon:/usr/sbin/nologin
tcpdump:x:109:112::/nonexistent:/usr/sbin/nologin
sssd:x:110:113:SSSD system user,,,:/var/lib/sss:/usr/sbin/nologin
speech-dispatcher:x:111:29:Speech Dispatcher,,,:/run/speech-dispatcher:/bin/false
cups-pk-helper:x:112:114:user for cups-pk-helper service,,,:/nonexistent:/usr/sbin/nologin
fwupd-refresh:x:989:989:Firmware update daemon:/var/lib/fwupd:/usr/sbin/nologin
saned:x:113:116::/var/lib/saned:/usr/sbin/nologin
geoclue:x:114:117::/var/lib/geoclue:/usr/sbin/nologin
cups-browsed:x:115:114::/nonexistent:/usr/sbin/nologin
hplip:x:116:7:HPLIP system user,,,:/run/hplip:/bin/false
gnome-remote-desktop:x:988:988:GNOME Remote Desktop:/var/lib/gnome-remote-desktop:/usr/sbin/nologin
polkitd:x:987:987:User for polkitd:/:/usr/sbin/nologin
rtkit:x:117:119:RealtimeKit,,,:/proc:/usr/sbin/nologin
colord:x:118:120:colord colour management daemon,,,:/var/lib/colord:/usr/sbin/nologin
gnome-initial-setup:x:119:65534::/run/gnome-initial-setup/:/bin/false
gdm:x:120:121:Gnome Display Manager:/var/lib/gdm3:/bin/false
nm-openvpn:x:121:122:NetworkManager OpenVPN,,,:/var/lib/openvpn/chroot:/usr/sbin/nologin
norizan:x:1000:1000:Norizan bin Hassan:/home/norizan:/bin/bash
nvidia-persistenced:x:122:124:NVIDIA Persistence Daemon,,,:/nonexistent:/usr/sbin/nologin
pulse:x:123:125:PulseAudio daemon,,,:/run/pulse:/usr/sbin/nologin
sshd:x:124:65534::/run/sshd:/usr/sbin/nologin
root@MSI:/home/norizan# 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
uuidd:x:103:103::/run/uuidd:/usr/sbin/nologin
usbmux:x:104:46:usbmux daemon,,,:/var/lib/usbmux:/usr/sbin/nologin
tss:x:105:105:TPM software stack,,,:/var/lib/tpm:/bin/false
systemd-oom:x:990:990:systemd Userspace OOM Killer:/:/usr/sbin/nologin
kernoops:x:106:65534:Kernel Oops Tracking Daemon,,,:/:/usr/sbin/nologin
whoopsie:x:107:109::/nonexistent:/bin/false
dnsmasq:x:999:65534:dnsmasq:/var/lib/misc:/usr/sbin/nologin
avahi:x:108:111:Avahi mDNS daemon,,,:/run/avahi-daemon:/usr/sbin/nologin
tcpdump:x:109:112::/nonexistent:/usr/sbin/nologin
sssd:x:110:113:SSSD system user,,,:/var/lib/sss:/usr/sbin/nologin
speech-dispatcher:x:111:29:Speech Dispatcher,,,:/run/speech-dispatcher:/bin/false
cups-pk-helper:x:112:114:user for cups-pk-helper service,,,:/nonexistent:/usr/sbin/nologin
fwupd-refresh:x:989:989:Firmware update daemon:/var/lib/fwupd:/usr/sbin/nologin
saned:x:113:116::/var/lib/saned:/usr/sbin/nologin
geoclue:x:114:117::/var/lib/geoclue:/usr/sbin/nologin
cups-browsed:x:115:114::/nonexistent:/usr/sbin/nologin
hplip:x:116:7:HPLIP system user,,,:/run/hplip:/bin/false
gnome-remote-desktop:x:988:988:GNOME Remote Desktop:/var/lib/gnome-remote-desktop:/usr/sbin/nologin
polkitd:x:987:987:User for polkitd:/:/usr/sbin/nologin
rtkit:x:117:119:RealtimeKit,,,:/proc:/usr/sbin/nologin
colord:x:118:120:colord colour management daemon,,,:/var/lib/colord:/usr/sbin/nologin
gnome-initial-setup:x:119:65534::/run/gnome-initial-setup/:/bin/false
gdm:x:120:121:Gnome Display Manager:/var/lib/gdm3:/bin/false
nm-openvpn:x:121:122:NetworkManager OpenVPN,,,:/var/lib/openvpn/chroot:/usr/sbin/nologin
norizan:x:1000:1000:Norizan bin Hassan:/home/norizan:/bin/bash
nvidia-persistenced:x:122:124:NVIDIA Persistence Daemon,,,:/nonexistent:/usr/sbin/nologin
pulse:x:123:125:PulseAudio daemon,,,:/run/pulse:/usr/sbin/nologin
sshd:x:124:65534::/run/sshd:/usr/sbin/nologin
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan# passwd norizan
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@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan# ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.8 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fd00::2893:46a9:fb0f:dec prefixlen 64 scopeid 0x0<global>
inet6 fd00::ff1b:5951:9709:1471 prefixlen 64 scopeid 0x0<global>
inet6 fe80::694e:fd0c:cd17:420c prefixlen 64 scopeid 0x20<link>
ether e0:69:95:ab:8f:24 txqueuelen 1000 (Ethernet)
RX packets 988466 bytes 1337486599 (1.3 GB)
RX errors 0 dropped 8 overruns 0 frame 0
TX packets 448161 bytes 91660629 (91.6 MB)
TX errors 0 dropped 16 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xfe700000-fe720000
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 12545 bytes 1515747 (1.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12545 bytes 1515747 (1.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#
root@MSI:/home/norizan#