Sponsored Content
Full Discussion: Connecting UNIX to Windows
Special Forums Windows & DOS: Issues & Discussions Connecting UNIX to Windows Post 302069000 by punyenye on Wednesday 22nd of March 2006 05:57:15 AM
Old 03-22-2006
Thanks,

I was able to successfully login already...What I am really trying to do is trigger a program from a UNIX server on the windows server. I was able to do this through the rlogin command. My concern right now is how do i automate this using KSH script. this is my current script right now:

rlogin -l <username> <hostname>
<password>
<program in windows to invoke>

Not putting them on script and typing them in one by one works, but putting them on a script requires me to input a password(it actually stops on the password, and asks for it, even if i have put it on the script), what i would like to happen if possible is to allow password to be inputted with the rlogin. or maybe a public key(though I am still not familiar with this approach)

Also, aside from that I am also checking using the RSH, here is my command:

rsh -l <username> <hostname> <command>

This issues an error regarding the password though, would you know how to setup the password.

Also, last question. whenever I close my rsh and rlogin connection....typing in quit enter, whenever I try to reconnect..I would encounter a 'connection close error', and I would need to wait for some minutes before i could log again. Would you know how to prevent this?

Hope you can answer my inquiries.

Regards,
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. IP Networking

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? (13 Replies)
Discussion started by: cassiel
13 Replies

6. 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

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

8. 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

9. 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

10. 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
PEV(1)							      General Commands Manual							    PEV(1)

NAME
pev - show information about MS-Windows excutables files SYNOPSIS
pev [OPTION]... file DESCRIPTION
Make an analysis and show useful information of PE32/PE32+ file given. OPTIONS
-A, --all Equivalent to -cdhoprs. This is the default action if none is specified. -c, --coff Show the COFF file header. -d, --dos Show the DOS file header. -h, --help Show usage and exit. -o, --optional Show the Optional (a.k.a. PE) file header. -p, --product-version Show the Product Version (if added by programmer/compiler) of PE file. -r, --resources Show first level resource items information. -s, --sections Show information about executable sections. -v, --version Show version and exit. EXAMPLES
To get only the Product Version of putty.exe file: $ pev -p putty.exe To show DOS and COFF file headers of cards.dll: $ pev -dc cards.dll Display all possible information about svchost.exe file: $ pev svchost.exe AUTHOR
Written by Coding 40o group REPORTING BUGS
Report pev bugs at http://sourceforge.net/p/pev/tickets/ COPYRIGHT
Copyright (C) 2010-2011 Coding 40o. Licensed GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. PEV(1)
All times are GMT -4. The time now is 12:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy