leichongxiang / sshpt

Automatically exported from code.google.com/p/sshpt
0 stars 0 forks source link

Patch to add remote command error reporting column and make remote 'sudo' command deal with cases wich require a tty #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The attached patch file does the following:
- Adds a remote command error reporting column (last column)
- Make remote 'sudo' commands use an interactive shell which allocates 
  a pseudo-tty. This deals with cases where 'sudo' requires a tty 
  e.g. "sudo: sorry, you must have a tty to run sudo"

Apply patch using 'patch -p0 < sshpt.py-gp.patch'

Tested on CentOS/RHEL 5.x and RHEL 4.5 

Original issue reported on code.google.com by george.p...@gmail.com on 14 May 2012 at 8:23

Attachments: