equal
deleted
inserted
replaced
13 aptitude --allow-untrusted --quiet --without-recommends --assume-yes install \ |
13 aptitude --allow-untrusted --quiet --without-recommends --assume-yes install \ |
14 openssh-server |
14 openssh-server |
15 |
15 |
16 perl -i -pe 's/^Port 22$/Port 2222/' /etc/ssh/sshd_config |
16 perl -i -pe 's/^Port 22$/Port 2222/' /etc/ssh/sshd_config |
17 /etc/init.d/ssh start |
17 /etc/init.d/ssh start |
18 ssh-keyscan -p 2222 localhost > /etc/ssh/ssh_known_hosts |
18 ssh-keyscan -t rsa,dsa,ecdsa -p 2222 localhost > /etc/ssh/ssh_known_hosts |
19 |
19 |
20 . ./install-installables |
20 . ./install-installables |
21 |
21 |
22 for user in test1 test2 ; do |
22 for user in test1 test2 ; do |
23 adduser --gecos $user --disabled-password $user |
23 adduser --gecos $user --disabled-password $user |