LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how to create execute file for linux telnet commands (https://www.linuxquestions.org/questions/programming-9/how-to-create-execute-file-for-linux-telnet-commands-421165/)

siva karthik 03-03-2006 01:32 AM

how to create execute file for linux telnet commands
 
my lan is linux workstation & i configure 1 tally server & other cilent systems are connecting the server via ssh commands & using tally.they are putting commands everyday.so,i need to avoid these.pls,help me on that urgent basis.

satinet 03-03-2006 08:20 AM

do you want to stop them from being able to connect via ssh?

siva karthik 03-03-2006 10:24 PM

i want 1 exe file for that terminal commands
 
currently,client machines are using type the commands like below:
#ssh -X <ip address>
#password:<password>
#cd /usr/tally
#./tally72
these commands put it on one exe file.it's possible in shell programming or any way for directly gui mode.

satinet 03-04-2006 04:23 AM

sorry, i really dont understand what you want to happen....

siva karthik 03-07-2006 01:28 AM

what didn't understood?i had 1 tally machine on that datas are there.i want to access that datas on network machines using tallysoftware via (ssh) commands.pls.tell how to do.

chrism01 03-07-2006 05:03 PM

I think(?) what what he wants is to automate ssh cxns to server so he doesn't have to do it manually each day.
If so there are a few options.
1. Use ssh authorised keys so you don't have to provide a passwd at the cmd line.
2. Try the 'Expect' lang, which is designed to handle this sort of thing. Note that hardcoding a passwd into a script is not recommended from the security point of view.

siva karthik 03-09-2006 07:03 AM

can u create exe file
 
these commands i need 1 exe file format i need to execute a file.
#ssh -X <ip address>
#password:<password>
#cd /usr/tally
#./tally72
can u help me.pls,consider me.u told two steps i didn't get u,then i donot know how to do the two steps.ok!

chrism01 03-10-2006 12:50 AM

You need to read up on ssh:
man ssh
http://socrates.homelinux.org/index.php?page=SshTips


All times are GMT -5. The time now is 08:09 AM.