(1) install ssh server --- sudo apt-get install openssh-server
(2) edit /etc/ssh/sshd_confg -- $ PermitRootLogin = no
$ AllowUsers = user1,user2
(3) restart --- sudo /etc/init.d/ssh restart
(4) test --- ssh localhost
(5) install ssh client --- sudo apt-get install openssh-client
(6) open connection --- ssh username@196.168.0.10
No comments:
Post a Comment