The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Telnet question oppiz UNIX for Dummies Questions & Answers 2 03-10-2008 12:48 PM
Can ftp but not telnet/ssh/rsh run_time_error SUN Solaris 2 11-18-2006 05: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 08:34 PM
Telnet timout question Acleoma UNIX for Dummies Questions & Answers 4 02-23-2005 04:03 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-17-2001
ober5861's Avatar
Registered User
 

Join Date: Jul 2001
Location: Gettysburg, PA
Posts: 116
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 (permalink)  
Old 07-17-2001
Registered User
 

Join Date: Jun 2001
Location: Leicestershire, UK
Posts: 92
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 (permalink)  
Old 10-02-2002
Registered User
 

Join Date: Mar 2002
Location: Glendale (Denver) Colorado
Posts: 4
Question Windows command prompt

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
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:06 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0