LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-03-2006, 01:32 AM   #1
siva karthik
LQ Newbie
 
Registered: May 2005
Location: mumbai,india
Posts: 4

Rep: Reputation: 0
Post 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.
 
Old 03-03-2006, 08:20 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
do you want to stop them from being able to connect via ssh?
 
Old 03-03-2006, 10:24 PM   #3
siva karthik
LQ Newbie
 
Registered: May 2005
Location: mumbai,india
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 03-04-2006, 04:23 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
sorry, i really dont understand what you want to happen....
 
Old 03-07-2006, 01:28 AM   #5
siva karthik
LQ Newbie
 
Registered: May 2005
Location: mumbai,india
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 03-07-2006, 05:03 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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.
 
Old 03-09-2006, 07:03 AM   #7
siva karthik
LQ Newbie
 
Registered: May 2005
Location: mumbai,india
Posts: 4

Original Poster
Rep: Reputation: 0
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!
 
Old 03-10-2006, 12:50 AM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Execute Commands on Multiple Linux or UNIX Servers LXer Syndicated Linux News 0 12-27-2005 06:46 PM
how can i make commands execute when I turn on linux? versaulis Linux - Software 1 08-29-2004 06:51 PM
Automae telnet log in and execute commands (expect and send) rajatgarg Linux - Networking 0 06-24-2004 11:37 AM
C -how do i execute linux commands? ocularbob Programming 7 02-29-2004 01:51 PM
how to execute commands on login k4zau Linux - Software 3 10-12-2003 01:52 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration