Enable SSH on Ubuntu 20.04

Enable SSH on Ubuntu 20.04

  1. Install SSH server and client metapackage using the apt command:
    $ sudo apt install ssh
    
  2. Enable and start SSH server daemon:
    $ sudo systemctl enable --now ssh
    
  3. Check SSH server status:
    $ sudo systemctl status ssh
    
  4. Before you make an attempt to login you might need to open SSH firewall port 22 and optionally allow to login to SSH server as root user.
Var dette svaret til hjelp? 0 brukere syntes dette svaret var til hjelp (0 Stemmer)