<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Using Centos release 4.7, filepro 5.0.14.R4<br>
<br>
I log in as a simple user (ID 510, Group 100) , execute a menu to
connect to a remote site, produce a file and scp it back. <br>
The authorized_keys are set between the two systems.<br>
<br>
The problem is when I do the exec of the menu from within the .bashrc
file the scp doesn't function.<br>
But if I login and get a $ sign and then type my menu command ( ie p
glmas ) then the scp does work.<br>
<br>
When you get the $ sign and type p glmas scp transfers the file<br>
root 444 3406 0 10:31 ? 00:00:00 sshd: gltrans [priv]<br>
gltrans 466 444 0 10:31 ? 00:00:00 sshd: gltrans@pts/0<br>
<b>gltrans 469 466 0 10:31 pts/0 00:00:00 -bash</b><br>
gltrans 550 469 0 10:34 pts/0 00:00:00 /u/appl/fp/runmenu glmas<br>
<br>
When it automatically loads the menu, the scp doesn't work<br>
<br>
root 653 3406 0 10:45 ? 00:00:00 sshd: gltrans [priv]<br>
gltrans 689 653 0 10:45 ? 00:00:00 sshd: gltrans@pts/8<br>
gltrans 690 689 0 10:45 pts/8 00:00:00 /u/appl/fp/runmenu glmas<br>
<br>
Any idea what effect the -bash has on all this ?<br>
<br>
<br>
<pre class="moz-signature" cols="72">
Ed Hilovsky
LGF Computers
Main Office: (724) 463-7633
Toll Free : (800) 653-8479
Fax Number : (866) 448-5415
Cellular : (412) 289-1773
email <a class="moz-txt-link-abbreviated" href="mailto:lgf@lgfcomputers.net">lgf@lgfcomputers.net</a>
</pre>
</body>
</html>