Skip to content

Instantly share code, notes, and snippets.

@nelsnelson
Created September 10, 2014 15:37
Show Gist options
  • Save nelsnelson/e78b2819d5e45c2bf584 to your computer and use it in GitHub Desktop.
Save nelsnelson/e78b2819d5e45c2bf584 to your computer and use it in GitHub Desktop.
ssh.remote_exec(proxy.accessIPv4, proxy.adminPass,
('export TERM=xterm-256color; '
'export PATH="$PATH:/sbin:/usr/sbin";'
'apt-get install -y apt-utils dialog '
'libterm-readline-perl-perl ssh-client '
'>/root/ssh-client.install.out'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment