On Tuesday, 02/08/2005 at 09:38 CST, James Melin <[EMAIL PROTECTED]> wrote: > Got a question about ssh.... > > rexec provides an ability to execute a command on a remote system and pass > the ID/Password on the command line. This prevents the session from > prompting for a password. > > e.g: rexec -l username -p password hostname command > > the problem with rexec , of course, is that it is unsecure.
It is unsecure if it flows over the open network. If it remains on a virtual network connection, it remains secure. > What I am looking to do is to ssh to a specific linux, execute a command, > capture the output of that command, parse that output and set some > variables and write out a 'status page' html file. I do not know how to > handle being asked for a password in a shell script. A remote system could enter a VM system with https, authenticate at that level, and then request REXECs. Just pointing out that there are multiple ways to solve the problem. (I happen to like SSH, but there are other solutions, too.) Alan Altmark z/VM Development IBM Endicott ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
