ubuntu配置ssh服务
1.
sudo useradd -s /sbin/nologin -M sftpuser
2.
sudo passwd sftpkeeperlog
3.
cd /etc/init.d/
4.
sudo sshd start
5.
open /etc/ssh/sshd_config file , open.
6.
find 'PasswordAuthentication',set to 'yes'
7.
service sshd restart
8.
who
1.
sudo useradd -s /sbin/nologin -M sftpuser
2.
sudo passwd sftpkeeperlog
3.
cd /etc/init.d/
4.
sudo sshd start
5.
open /etc/ssh/sshd_config file , open.
6.
find 'PasswordAuthentication',set to 'yes'
7.
service sshd restart
8.
who