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 > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
connecting windows remotely from unix using SSH lakshmis10 UNIX for Advanced & Expert Users 1 10-19-2007 05:41 AM
Connecting UNIX to Windows punyenye Windows & DOS: Issues & Discussions 2 03-22-2006 06:57 AM
connecting to windows from unix hemant30 UNIX for Advanced & Expert Users 7 12-01-2003 03:14 PM
connecting windows pc to sco openserver scoman UNIX for Dummies Questions & Answers 1 07-18-2003 05:27 PM
Connecting SGI to Windows PC mdbanas IP Networking 2 02-25-2002 12:20 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-16-2005
cassiel cassiel is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 3
connecting to Unix from windows - help

Hello,
I have a requirement like -
I need to connect to specific Unix machine.That machine authenticates the user who is logging in. I am accessing from XP machine.
Is possible to supply the Username & Password along with Host name and port, from Windows command prompt? If so how?
  #2 (permalink)  
Old 03-16-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
If the target UNIX machine is running the telnet daemon, you can just telnet in from the Windows command prompt

i.e.

telnet hostname port

You'll then be prompted for a user name and password. If no port is specified it'll try the standard telnet port (23).

If you're using SSH on the server, then download a free SSH client such as PuTTY.

Cheers
ZB
  #3 (permalink)  
Old 03-17-2005
cassiel cassiel is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 3
Hello,
I would first like to thank you for the quick response. I guess I haven't projected the exact problem. I was using it in the same way as you said.
c:> telnet x.x.x.x 23

Thing is...I need to check the connectivity to different hosts, and all of them require authorization.We were checking them in the same way - first connect to the host,then supply the username & password. And then check for the remaining hosts similarly.It takes atleast 1-2 mins to test each host.We have to check different host with different login credentials. Also, this is a repetitive process which has to be done from time to time. So, this is consuming a lot of time.Is there any alternative to reduce this time taken?
I am looking for, if it is possible to write a batch file for it, but upto now I couldnot makeout any thing.

Also I have very little knowledge of Unix.

Thanks
KK
  #4 (permalink)  
Old 03-17-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,223
You could use something like expect for windows or python and write a script to automate this.
  #5 (permalink)  
Old 03-21-2005
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2004
Location: USA
Posts: 511
Do you have to use 'telnet' to test connectivity to differnet hosts ?

You can use 'ping' as well. Right ?

Just have a thought ... ;
  #6 (permalink)  
Old 03-28-2005
cassiel cassiel is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 3
I guess, from 'ping' command we can find only whether the host is reachable or not. But I dont think, the login crendiatials can be authenticated through this command.....
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 02:30 PM.


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