![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SSH prompts password for non identical users | vjkatsun | UNIX for Advanced & Expert Users | 5 | 06-02-2008 02:18 AM |
| Shell Program that prompts for user Id | mmg2711 | UNIX for Dummies Questions & Answers | 1 | 10-24-2007 08:15 AM |
| working in different prompts | gopsman | Shell Programming and Scripting | 3 | 08-30-2007 07:12 AM |
| scripting password prompts | hcclnoodles | Shell Programming and Scripting | 3 | 03-21-2005 04:25 PM |
| rsh help with remote prompts | ianf | Shell Programming and Scripting | 4 | 09-02-2002 11:55 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I would like to log all the commands that are entered on an ssh client. I can do this successfully, however, I dont want to log user logins and passwords. Is there any way to identify passwords and avoid them? For example, I can look for a string 'password:' and ignore everything until a nl/cr. Is there any other way to identify the password prompt reliably so that I can ignore them?
TIA Bala |
|
||||
|
We are logging the interaction between the user and the system using the ssh clients interface. The commands are captured before they are sent to the server. The server must know when to prompt for a password. Given this, are there special characteristics for the password prompt when it is issued by the server or is it completely a function of the client?
balag |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|