1 describe package("openssh-client") do
2 it { should be_installed }
5 describe package("openssh-server") do
6 it { should be_installed }
9 describe service("ssh") do
10 it { should be_enabled }
11 it { should be_running }
15 it { should be_listening }
16 its("protocols") { should cmp %w[tcp tcp6] }