Unix to Windows Communication


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Unix to Windows Communication
# 1  
Old 02-16-2010
Question Unix to Windows Communication

Hi All,


I need to come up with a shell script that logs into a windows system and fires a batch/executable file in it.

Any idea how to go about doing this?

Please help.



Regards,
Agniv.
# 2  
Old 02-16-2010
Set up sshd for windows and use ssh on your Unix/Linux side to trigger off remote things in your shell script.
There is plenty of information about that in this forum as well on the internet.
# 3  
Old 02-16-2010
MySQL

Quote:
Originally Posted by zaxxon
Set up sshd for windows and use ssh on your Unix/Linux side to trigger off remote things in your shell script.
There is plenty of information about that in this forum as well on the internet.


Thanks......Smilie

I've got PuTTy series...
But can we install PuTTy in an Unix box?

Is there any other ssh client that'll serve my purpose?
# 4  
Old 02-16-2010
I do not know what kind of Unix or Linux you use but usually these days all of them come with a ssh client that you just call with the command ssh. Check out
Code:
man ssh

To intercept the next question, how this is done without the need to enter a password - check the forum here by using it's search engine or your favourite internet search engine for the pattern "ssh without password".

Last edited by zaxxon; 02-16-2010 at 08:02 AM.. Reason: typo
# 5  
Old 02-16-2010
MySQL

Thanks. Smilie

Got the idea !

Will need to look into ssh commands 'coz my knowledge about 'em is almost null, however, that was a headstart !

man ssh !
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Needed SFTP script from windows to UNIX server and from UNIX to windows server(reverse SFTP)

hi guys, i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not and again i have to reverse sftp the files from unix to windows server..... regards, Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies

2. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

Can anybody please help me on how to code for the below requirement: I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies

3. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

4. Shell Programming and Scripting

Communication between processes in Unix

hi folks!! I was stuck with a little problem where i needed to communcate between two processes, i.e., send a command to the parent process from the child process as soon as the child process terminates.This was required when i wanted to create a log using the script command in a bourne shell.The... (3 Replies)
Discussion started by: bdiwakarteja
3 Replies

5. Solaris

Best possible communication mechanism between a Solaris machine and a windows machine

hi, I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this. the constraints are > the windows machines have to... (7 Replies)
Discussion started by: Krsh
7 Replies

6. UNIX for Dummies Questions & Answers

Changing windows server alias name on windows or unix?

My situation is that we have production unix scripts that ftp files over to a windows server. I'm not sure if its a 2000 or 2003 server as I dont work on server, more on the unix side. It turns out that they are changing servers on the network. So they are migrating our data over from say Server 1... (1 Reply)
Discussion started by: NycUnxer
1 Replies

7. UNIX for Dummies Questions & Answers

Windows Unix communication

Hi All I am using a QTP testing tool which is in windows and I need to connect to a unix machine from the windows and execute a shell script which will throw some log files and i need to open one log file and get a number (no. of records) and use it in my Testing tool script which is in... (3 Replies)
Discussion started by: arulraj2007
3 Replies

8. UNIX for Advanced & Expert Users

Serial Communication in UNIX

Hi, I am working on serial communication on Unix. Can anyone guide me through it. The steps required for RS 232 communication and can i do serial communication even if i dont have super user previledges. Thankx, Vicky (1 Reply)
Discussion started by: Vicky
1 Replies

9. UNIX for Dummies Questions & Answers

UNIX problem? Unix programm runs windows 2000 CPU over 100%

Okee problems...!! What is happening: Unix server with some programms, workstations are windows 2000, the workstations work good but when you start a programm on the Unix server the CPU of the workstations go to 100% usage resulting that the system gets very slow. The programm well its running so... (2 Replies)
Discussion started by: zerocool
2 Replies

10. UNIX for Dummies Questions & Answers

communication unix/windows

Hi everybody, I have a speech recognition application which works on windows and which create a text file. My main application works on unix and I need to get (or simply read) in real time the text file. I can't use a soft like Samba because it is not authorized in my company. I would like a... (1 Reply)
Discussion started by: kintoo
1 Replies
Login or Register to Ask a Question