Debian 10 open SSH


When the CD is installed, no additional components are installed.
To log in through TTY terminal, configure SSH first.

1. Solve the problem of vim backspace key failure

Open / etc / VIM / vimrc.tiny, input and save

set nocompatible
set backspace=2

2. Modify Debian installation source to domestic image

Open / etc / apt / sources.list

deb buster main non-free contrib
deb buster/updates main
deb buster-updates main non-free contrib
deb buster-backports main non-free contrib

deb-src buster/updates main
deb-src buster main non-free contrib
deb-src buster-updates main non-free contrib
deb-src buster-backports main non-free contrib

Then run it

apt-get update
apt-get upgrade

3. Install openssh client and openssh server, and open SSH login

apt-get install openssh-client
apt-get install openssh-server

Open SSH service

systemctl status sshd

Debian 10 open SSH

Viewing ports with netstat command(
Install net tools
apt install net-tools

netstat -tulpn | grep 22

4. Virtual machine port mapping settings

Debian 10 open SSH

5. Putty settings

Debian 10 open SSH

Login successful!
Debian 10 open SSH