You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a Number(process.env.SDC_SSH_TIMEOUT) variable in /usr/local/lib/node_modules/smartdc/node_modules/smartdc-auth/node_modules/ssh-agent/lib/ssh_agent_client.js allows you to wait longer for timeouts on the command line client.
function SSHAgentClient(options) {
options = options || {};
this.timeout = options.timeout || Number(process.env.SDC_SSH_TIMEOUT) || 1000;
this.sockFile = process.env.SSH_AUTH_SOCK;
if (!this.sockFile)
throw new MissingEnvironmentVariableError('SSH_AUTH_SOCK');
}
Adding a Number(process.env.SDC_SSH_TIMEOUT) variable in
/usr/local/lib/node_modules/smartdc/node_modules/smartdc-auth/node_modules/ssh-agent/lib/ssh_agent_client.js
allows you to wait longer for timeouts on the command line client.Usage: SDC_TESTING=1 SDC_URL=https://example.com SDC_ACCOUNT=example SDC_KEY_ID=00:00 SDC_SSH_TIMEOUT=3000 sdc-listdatacenters
The text was updated successfully, but these errors were encountered: