![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Telnet question | oppiz | UNIX for Dummies Questions & Answers | 2 | 03-10-2008 01:48 PM |
| Can ftp but not telnet/ssh/rsh | run_time_error | SUN Solaris | 2 | 11-18-2006 06:41 PM |
| question about telnet to HP unix 11 | zetadhell | HP-UX | 3 | 06-06-2006 06:21 PM |
| TELNET Question | mr-synapse | SUN Solaris | 8 | 11-22-2005 09:34 PM |
| Telnet timout question | Acleoma | UNIX for Dummies Questions & Answers | 4 | 02-23-2005 05:03 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
telnet question
Does anyone know a way to log into a telnet server with username and password all with one command? I have to do this remotely. I can do this with FTP with the following command under windows:
ftp -s:c:\dir\test2.txt 10.0.0.207 The "-s:filename" option is just a list of commands that occurs once the ftp server is contacted. I was wondering if there was a way to do this with telnet also. Basically, I need to automate a task from Windows to HP-UX with as much simplicity as possible and I can't do everything that I need from the FTP prompt. Any help appreciated. I have a shell script written to take care of the work once I get into the telnet server, I just need to get there first. (This is so I don't have to teach people Unix to do a simple task) |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Hi,
Have you tried the putty/plink freeware ssh/telnet package, it's available at: http://www.chiark.greenend.org.uk/~sgtatham/putty/ You can send command line options to the putty program via the plink console program. i.e. plink myname@unixhost "acommand" or plink -ssh myname@unixhost "accomand" to enable ssh. The only downside is that the user will still have to enter a password. Hope this helps. Andy Hibbins |
|
#3
|
|||
|
|||
|
What about going the other way? I've been tasked with starting a C program in Windows from UNIX and passing it a file to process
I've not found much on starting something up like that from a UNIX box. Feel free to flame the newbie question if I've missed something obvious. Thanks, Ursa Major Prime |
|||
| Google The UNIX and Linux Forums |