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 > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Change user on remote machine and execute script! goutham4u Shell Programming and Scripting 5 10-24-2008 07:24 AM
Checking the status of the script on remote machine nua7 Shell Programming and Scripting 3 07-24-2008 02:41 AM
Setting environment variable on a remote solaris machine using shell script eamani_sun Shell Programming and Scripting 1 05-30-2008 10:05 PM
how to execute a script on remote machine balireddy_77 Shell Programming and Scripting 4 09-27-2006 07:45 PM
Need Script to check whether user exists in the remote machine Srini75 SCO 1 09-07-2005 11:23 AM

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 10-08-2008
sam_roy sam_roy is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 9
To invoke a script on a remote machine

Hi,

I am trying the following-

1. ftp a file from machine1 to machine2.
2. Once the ftp is done, from machine1 invoke a shell script on machine2.

Could anyone please help me on this?
  #2 (permalink)  
Old 10-08-2008
System Shock's Avatar
System Shock System Shock is offline Forum Advisor  
Registered User
  
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 521
Use ssh with keys. Plenty of examples in the forum if you do a search.
  #3 (permalink)  
Old 10-08-2008
sam_roy sam_roy is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 9
The machine1 is a windows machine. I am unable to use ssh from widows
  #4 (permalink)  
Old 10-08-2008
incredible incredible is online now Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,084
Then you will have to enable ftp in your unix machine and no firewall between your 2 systems. If ok, you will be able to ftp from windows to unix, then execute the script as you wished.. if you were to google on that, there are examples for you
  #5 (permalink)  
Old 10-08-2008
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,886
Thumbs down

Quote:
Originally Posted by sam_roy View Post
The machine1 is a windows machine. I am unable to use ssh from widows
Not true. Download and install openssh for Windows, and you can use command line tools. Anyway, this is a Windows question, not a UNIX question.
  #6 (permalink)  
Old 10-08-2008
incredible incredible is online now Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,084
Quote:
Originally Posted by otheus View Post
Not true. Download and install openssh for Windows, and you can use command line tools. Anyway, this is a Windows question, not a UNIX question.
Otheus, OP's initial post was to "ftp".. then he switched saying ssh.. Not sure how he wants it to be done. like you said, both way works..
Closed Thread

Bookmarks

Tags
unix download

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 12:39 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