Six, apt-get update to download and install ssh


The user enters the root, root @ linux ~ # /etc/apt/sources.list /etc/apt/sources.list_backup input CP
root Linux @ ~ # CD / etc / APT /
root Linux @ ~ # / etc / APT # LL
root @ linux ~ # / etc / apt # vim sources.list
after entering, with:% s / hk-archive / old-releases all URLs in front of the carriage (purple color) of the hk-archive ubuntu word into old-releases All have changed
(note also requires% s / security.ubuntu / old-releases End enter to change)
: enter the WQ save!
root @ Linux ~ # / etc / APT # APT-GET Update will be able to download!
root @ linux ~ # / etc / apt # apt-get install openssh-server download ssh verification;
root @ Linux ~ # / etc / ssh APT # /etc/init.d/ssh Start to start the service;
root @ Linux ~ # / etc / apt # ps -e | grep sshd to verify that truly open.

Guess you like

Origin www.cnblogs.com/kocham/p/12632173.html