Changes

Jump to: navigation, search

OPS435 Python3 Lab 8

67 bytes added, 17:14, 3 July 2020
PART 2: running privileged commands on remote machines
</source>
: The above error indicated that you need a tty for the SSH session to prompt you for the sudo password. Please look up the ssh man page to find out the option which turn on a tty for the SSH session.
 
=== Run the ad-hoc fab command with privileged shell commands ===
: Let's try the corresponding ad-hoc fab command:<source lang='bash'>
fab --host=myvmlab.senecacollege.ca --port=7200 --user=student -- 'sudo yum install tree -y'
1,760
edits

Navigation menu