I have the following in a Rexfile:
group "servers", "server_big" => { user => 'my_user', private_key => '/home/user/key.pem' };
# private_key '/home/bitnami/LightsailDefaultKey-us-west-2.pem';
task 'uptime', 'server_big', sub {
say run 'uptime';
};
The above does not work. However, if I uncomment out the private_key line, it works. But why doesn't it work with the private_key that I have set in server_big?