connecting to Unix from windows - help


 
Thread Tools Search this Thread
Special Forums IP Networking connecting to Unix from windows - help
# 1  
Old 03-16-2005
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  
Old 03-16-2005
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  
Old 03-17-2005
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  
Old 03-17-2005
You could use something like expect for windows or python and write a script to automate this.
# 5  
Old 03-21-2005
Do you have to use 'telnet' to test connectivity to differnet hosts ?

You can use 'ping' as well. Right ?

Just have a thought ... ;
# 6  
Old 03-28-2005
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.....
# 7  
Old 03-31-2005
you can also use ftp on cygwin ... (substitute 1st jack with the username and the 2nd jack with the password) ... i would suggest you ping the host first though ...

Code:
root_myserver:/home/scripts # ftp -inv << GO
> open icehost
> user jack jack
> bye
> GO
Connected to icehost.
220 This system is for company related use only. Use may be monitored.
331 Password required for jack.
530 Login incorrect.
Login failed.
221 Goodbye.
root_myserver:/home/scripts #


Last edited by Just Ice; 03-31-2005 at 11:27 AM.. Reason: "<<" here document not supported on windows
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Connecting to Windows server from UNIX through script

I am trying to connect to a Windows server say 10.1.1.10. This servers has a folder named RAJ in which there are multiple .zip files. All these zip files contain a text file called XYZ.txt. Now i have to merge the content of these XYZ.txt files from each of the .zip file and create a new text... (1 Reply)
Discussion started by: swapniljadav
1 Replies

2. Virtualization and Cloud Computing

Connecting windows to Vmware

Hi , I have installed Centos 6.5 in my VMWare on windows 7 , My Internet is running fine on both VMWare OS and windows 7 . When I am trying to connect from putty on my window to Vimware Linux but it does not connect. Please help what should I do to connect the window system to Linux System (6 Replies)
Discussion started by: kaushik02018
6 Replies

3. Windows & DOS: Issues & Discussions

Connecting to UNIX from Windows without using putty

Hi Is there any command which we can try connecting unix from windows without using any third party tool. Thanks in advance KVB (9 Replies)
Discussion started by: bikky6
9 Replies

4. Shell Programming and Scripting

Connecting to Windows Server

Hi, One of the folders in UNIX is mapped with a drive on Windows.From this UNIX machine I want to connect to the Windows Server, perform some checks and view the results back on the UNIX machine. For e.g. if I touch a file under the shared folder on UNIX, I should be able to telnet to Windows... (2 Replies)
Discussion started by: swasid
2 Replies

5. Solaris

Connecting Hard drive to Windows

Ok i have a bad slice on my solaris 10 hard drive. And that so happens to be where the data is that i need. there are 10 corrupt block that are not allowing it to mount. I tried everything fro ufsdump to fsck -Y -o f and nothing works. so i took the drive out and plugged it into a external USB ->... (4 Replies)
Discussion started by: deaconf19
4 Replies

6. UNIX for Advanced & Expert Users

connecting windows remotely from unix using SSH

Hi Can someone giv me some knowledge on accesing windows from unix and executing DOS scripts using SSH I would like to know how to go abt it...am new to it. Thanks in advance (1 Reply)
Discussion started by: lakshmis10
1 Replies

7. Windows & DOS: Issues & Discussions

Connecting UNIX to Windows

Is there a way to connect to Windows from UNIX. From Windows to UNIX, there is a putty that can be used. Is putty also possible to use to connect? (2 Replies)
Discussion started by: punyenye
2 Replies

8. UNIX for Advanced & Expert Users

connecting to windows from unix

how to connect to windows from unix??? (7 Replies)
Discussion started by: hemant30
7 Replies

9. UNIX for Dummies Questions & Answers

connecting windows pc to sco openserver

I connected my windows 2k professional to sco openserver. i want to know how i should setup sco , so when i login from windows it will log me into my home dir on sco (1 Reply)
Discussion started by: scoman
1 Replies

10. IP Networking

Connecting SGI to Windows PC

I am trying to network an SGI running Irix 6.5 through an ethernet line to a PC running Windows 2000 (I have connected other PC's to this PC without any problems.) The PC has a DSL connection from Verizon that does not support Unix. I tried using DHCP on the SGI, but when I open a web browser on... (2 Replies)
Discussion started by: mdbanas
2 Replies
Login or Register to Ask a Question

Featured Tech Videos