Hello greg, Your solution works. Thanks a lot. Thanks all for your replying and for your nice suggestions. Thanks a lot. Best regards. Gajendra -- View this message in context: http://www.nabble.com/How-to-export-variables-on-remote-machine-through-ssh.-tf4882213.html#a14019883 Sent from the SSH (Secure Shell) mailing list archive at Nabble.com.