17 Aug
2012
17 Aug
'12
15:47
Hi I have a script which has a ssh call in it: echo Calling the file server ssh root@hh32 "mkdir /home2/$2/$1 ; chown $uid:20513 /home2/$2/$1 ; exit" echo Back on DC <rest of script> The ssh call works, but it never returns to the calling script to finish the rest of the commands.. IOW we never see the words: Back on DC It must have exited because the command prompt after the ssh call is that of the calling box, not the remote box. How do I exit correctly at end of the ssh call so that the rest of the calling script is executed? Thanks, L x -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org