Install openssh (sshd) server in Ubuntu 18.04 LTS

myuser@srv:~$ sudo apt update
Get:1 bionic InRelease [242 kB]
Get:2 bionic-security InRelease [83.2 kB]
Get:3 bionic-updates InRelease [88.7 kB]        
Get:4 bionic-backports InRelease [74.6 kB]                 
Get:5 bionic/main i386 Packages [1,007 kB]                 
Get:6 bionic/main amd64 Packages [1,019 kB]                 
Get:7 bionic/main Translation-en [516 kB]        
Get:8 bionic/main Translation-en_GB [432 kB]      
Get:9 bionic-security/main i386 Packages [95.0 kB]    
Get:10 bionic/main amd64 DEP-11 Metadata [477 kB]                   
Get:11 bionic/main DEP-11 48x48 Icons [118 kB]                      
Get:12 bionic/main DEP-11 64x64 Icons [245 kB]                      
Get:13 bionic/restricted amd64 Packages [9,184 B]                  
Get:14 bionic/restricted i386 Packages [9,156 B]                   
Get:15 bionic/restricted Translation-en [3,584 B]                 
Get:16 bionic/restricted Translation-en_GB [2,072 B]                     
Get:17 bionic/universe i386 Packages [8,531 kB]
Get:18 bionic-security/main amd64 Packages [112 kB]                 
Get:19 bionic-security/main Translation-en [44.3 kB]
Get:20 bionic-security/main amd64 DEP-11 Metadata [204 B]           
Get:21 bionic-security/main DEP-11 48x48 Icons [29 B]
Get:22 bionic-security/main DEP-11 64x64 Icons [29 B]
Get:23 bionic-security/universe i386 Packages [36.8 kB]
Get:24 bionic-security/universe amd64 Packages [36.9 kB]               
Get:25 bionic-security/universe Translation-en [21.5 kB]      
Get:26 bionic-security/universe amd64 DEP-11 Metadata [2,452 B]     
Get:27 bionic-security/universe DEP-11 48x48 Icons [4,031 B]                  
Get:28 bionic-security/universe DEP-11 64x64 Icons [4,058 B]              
Get:29 bionic-security/multiverse i386 Packages [1,340 B]
Get:30 bionic-security/multiverse amd64 Packages [1,176 B]
Get:31 bionic-security/multiverse Translation-en [632 B]
Get:32 bionic/universe amd64 Packages [8,570 kB]                
Get:33 bionic/universe Translation-en [4,941 kB]
Get:34 bionic/universe Translation-en_GB [4,118 kB]
Get:35 bionic/universe amd64 DEP-11 Metadata [3,287 kB]
Get:36 bionic/universe DEP-11 48x48 Icons [2,151 kB]
Get:37 bionic/universe DEP-11 64x64 Icons [8,420 kB]
Get:38 bionic/multiverse i386 Packages [144 kB]
Get:39 bionic/multiverse amd64 Packages [151 kB]
Get:40 bionic/multiverse Translation-en [108 kB]
Get:41 bionic/multiverse Translation-en_GB [82.1 kB]
Get:42 bionic/multiverse amd64 DEP-11 Metadata [49.7 kB]
Get:43 bionic/multiverse DEP-11 48x48 Icons [8,931 B]
Get:44 bionic/multiverse DEP-11 64x64 Icons [225 kB]
Get:45 bionic-updates/main amd64 Packages [185 kB]
Get:46 bionic-updates/main i386 Packages [168 kB]
Get:47 bionic-updates/main Translation-en [74.7 kB]
Get:48 bionic-updates/main amd64 DEP-11 Metadata [127 kB]
Get:49 bionic-updates/main DEP-11 48x48 Icons [28.4 kB]
Get:50 bionic-updates/main DEP-11 64x64 Icons [49.3 kB]
Get:51 bionic-updates/universe amd64 Packages [119 kB]
Get:52 bionic-updates/universe i386 Packages [119 kB]
Get:53 bionic-updates/universe Translation-en [51.7 kB]
Get:54 bionic-updates/universe amd64 DEP-11 Metadata [124 kB]
Get:55 bionic-updates/universe DEP-11 48x48 Icons [124 kB]
Get:56 bionic-updates/universe DEP-11 64x64 Icons [205 kB]
Get:57 bionic-updates/multiverse amd64 Packages [3,544 B]
Get:58 bionic-updates/multiverse i386 Packages [3,700 B]
Get:59 bionic-updates/multiverse Translation-en [2,060 B]
Get:60 bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:61 bionic-updates/multiverse DEP-11 48x48 Icons [29 B]
Get:62 bionic-updates/multiverse DEP-11 64x64 Icons [2,638 B]
Get:63 bionic-backports/universe amd64 Packages [2,704 B]
Get:64 bionic-backports/universe i386 Packages [2,700 B]
Get:65 bionic-backports/universe Translation-en [1,136 B]
Get:66 bionic-backports/universe amd64 DEP-11 Metadata [5,100 B]
Get:67 bionic-backports/universe DEP-11 48x48 Icons [29 B]
Get:68 bionic-backports/universe DEP-11 64x64 Icons [1,789 B]
Fetched 46.9 MB in 6s (7,784 kB/s)                                                                                                                                                                         
Reading package lists... Done
Building dependency tree       
Reading state information... Done
229 packages can be upgraded. Run 'apt list --upgradable' to see them.

myuser@srv:~$ sudo apt install tasksel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
The following NEW packages will be installed
  tasksel tasksel-data
0 to upgrade, 2 to newly install, 0 to remove and 229 not to upgrade.
Need to get 34.2 kB of archives.
After this operation, 292 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 bionic/main amd64 tasksel-data all 3.34ubuntu11 [5,476 B]
Get:2 bionic/main amd64 tasksel all 3.34ubuntu11 [28.7 kB]
Fetched 34.2 kB in 0s (178 kB/s)  
Preconfiguring packages ...
Selecting previously unselected package tasksel-data.
(Reading database ... 125788 files and directories currently installed.)
Preparing to unpack .../tasksel-data_3.34ubuntu11_all.deb ...
Unpacking tasksel-data (3.34ubuntu11) ...
Selecting previously unselected package tasksel.
Preparing to unpack .../tasksel_3.34ubuntu11_all.deb ...
Unpacking tasksel (3.34ubuntu11) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up tasksel-data (3.34ubuntu11) ...
Setting up tasksel (3.34ubuntu11) ...
myuser@srv:~$ sudo tasksel install openssh-server

Leave a Reply

Your email address will not be published. Required fields are marked *