Method: Aix::Exec#ssh_permit_user_environment

Defined in:
lib/beaker/host/aix/exec.rb

#ssh_permit_user_environmentResult

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Sets the PermitUserEnvironent setting & restarts the SSH service

Returns:



25
26
27
28
# File 'lib/beaker/host/aix/exec.rb', line 25

def ssh_permit_user_environment
  exec(Beaker::Command.new("echo '\nPermitUserEnvironment yes' >> /etc/ssh/sshd_config"))
  ssh_service_restart()
end