- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hi, passing information to telnet
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 11:40 PM
01-08-2004 11:40 PM
hi, passing information to telnet
ftp -n << EOF
open
user
..............
COMMANDS
................
EOF
THANKING YOU.
HARI KRISHNA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 11:42 PM
01-08-2004 11:42 PM
Re: hi, passing information to telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 11:54 PM
01-08-2004 11:54 PM
Re: hi, passing information to telnet
problem is to write a script that connected to the mail server from my system and to execute the script which is in mailserver.
THANKING YOU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2004 12:18 AM
01-09-2004 12:18 AM
Re: hi, passing information to telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2004 12:28 AM
01-09-2004 12:28 AM
Re: hi, passing information to telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2004 12:46 AM
01-09-2004 12:46 AM
Re: hi, passing information to telnet
"remsh hostname command" is the simplest form assuming there is a .rhosts file on the host you are connecting to in the home directory of the user you are connecting to that has the source hostname in it.
remsh is less secure than ssh and shouldn't be used where the network is untrusted. "ssh" on the other had, is more secure but a bit more difficult to get it to not require a password (at least it is for me because I've never done it).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2004 01:20 AM
01-09-2004 01:20 AM
Re: hi, passing information to telnet
As Chris Said already Use "Expect" (It is a small scripting language like shell and it is available for almost all unix falvors).
Expect script is used to automate interactive command based utilities like, telnet , ftp, rlogin etc.
It can be embedded with Shell script too.
-Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 05:04 AM
01-22-2004 05:04 AM
Re: hi, passing information to telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 10:43 AM
01-22-2004 10:43 AM
Re: hi, passing information to telnet
If it's just ftp, you can do it with .netrc file.
For the user that executes your ftp script, create a .netrc file in the home dir with the permissions 400, owner them:sys
In the file you put:
machine ip.of.remote.machine login loginid password thepassword
Then in your script, remove the
user
line.
Rgds...Geoff