The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 04:48 PM
Can ftp but not telnet/ssh/rsh run_time_error SUN Solaris 2 11-18-2006 09:41 PM
question about telnet to HP unix 11 zetadhell HP-UX 3 06-06-2006 09:21 PM
TELNET Question mr-synapse SUN Solaris 8 11-23-2005 12:34 AM
Telnet timout question Acleoma UNIX for Dummies Questions & Answers 4 02-23-2005 08:03 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-17-2001
ober5861's Avatar
ober5861 ober5861 is offline
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)
  #2 (permalink)  
Old 07-17-2001
Andy Hibbins Andy Hibbins is offline
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
Ursa_Major Ursa_Major is offline
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
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:22 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0