Install openssh (sshd) server in Ubuntu 18.04 LTS

Author:
myuser@srv:~$ sudo apt update
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]        
Get:4 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                 
Get:5 http://gb.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB]                 
Get:6 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,019 kB]                 
Get:7 http://gb.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]        
Get:8 http://gb.archive.ubuntu.com/ubuntu bionic/main Translation-en_GB [432 kB]      
Get:9 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [95.0 kB]    
Get:10 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 DEP-11 Metadata [477 kB]                   
Get:11 http://gb.archive.ubuntu.com/ubuntu bionic/main DEP-11 48x48 Icons [118 kB]                      
Get:12 http://gb.archive.ubuntu.com/ubuntu bionic/main DEP-11 64x64 Icons [245 kB]                      
Get:13 http://gb.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9,184 B]                  
Get:14 http://gb.archive.ubuntu.com/ubuntu bionic/restricted i386 Packages [9,156 B]                   
Get:15 http://gb.archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3,584 B]                 
Get:16 http://gb.archive.ubuntu.com/ubuntu bionic/restricted Translation-en_GB [2,072 B]                     
Get:17 http://gb.archive.ubuntu.com/ubuntu bionic/universe i386 Packages [8,531 kB]
Get:18 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [112 kB]                 
Get:19 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [44.3 kB]
Get:20 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]           
Get:21 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [29 B]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [29 B]
Get:23 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [36.8 kB]
Get:24 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [36.9 kB]               
Get:25 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [21.5 kB]      
Get:26 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [2,452 B]     
Get:27 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [4,031 B]                  
Get:28 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [4,058 B]              
Get:29 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [1,340 B]
Get:30 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [1,176 B]
Get:31 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [632 B]
Get:32 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8,570 kB]                
Get:33 http://gb.archive.ubuntu.com/ubuntu bionic/universe Translation-en [4,941 kB]
Get:34 http://gb.archive.ubuntu.com/ubuntu bionic/universe Translation-en_GB [4,118 kB]
Get:35 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 DEP-11 Metadata [3,287 kB]
Get:36 http://gb.archive.ubuntu.com/ubuntu bionic/universe DEP-11 48x48 Icons [2,151 kB]
Get:37 http://gb.archive.ubuntu.com/ubuntu bionic/universe DEP-11 64x64 Icons [8,420 kB]
Get:38 http://gb.archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages [144 kB]
Get:39 http://gb.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]
Get:40 http://gb.archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
Get:41 http://gb.archive.ubuntu.com/ubuntu bionic/multiverse Translation-en_GB [82.1 kB]
Get:42 http://gb.archive.ubuntu.com/ubuntu bionic/multiverse amd64 DEP-11 Metadata [49.7 kB]
Get:43 http://gb.archive.ubuntu.com/ubuntu bionic/multiverse DEP-11 48x48 Icons [8,931 B]
Get:44 http://gb.archive.ubuntu.com/ubuntu bionic/multiverse DEP-11 64x64 Icons [225 kB]
Get:45 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [185 kB]
Get:46 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [168 kB]
Get:47 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [74.7 kB]
Get:48 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [127 kB]
Get:49 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [28.4 kB]
Get:50 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [49.3 kB]
Get:51 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [119 kB]
Get:52 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [119 kB]
Get:53 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [51.7 kB]
Get:54 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [124 kB]
Get:55 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [124 kB]
Get:56 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [205 kB]
Get:57 http://gb.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [3,544 B]
Get:58 http://gb.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [3,700 B]
Get:59 http://gb.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [2,060 B]
Get:60 http://gb.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:61 http://gb.archive.ubuntu.com/ubuntu bionic-updates/multiverse DEP-11 48x48 Icons [29 B]
Get:62 http://gb.archive.ubuntu.com/ubuntu bionic-updates/multiverse DEP-11 64x64 Icons [2,638 B]
Get:63 http://gb.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [2,704 B]
Get:64 http://gb.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [2,700 B]
Get:65 http://gb.archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [1,136 B]
Get:66 http://gb.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5,100 B]
Get:67 http://gb.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]
Get:68 http://gb.archive.ubuntu.com/ubuntu 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:
  tasksel-data
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 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 tasksel-data all 3.34ubuntu11 [5,476 B]
Get:2 http://gb.archive.ubuntu.com/ubuntu 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 *