LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 04-13-2005, 05:24 PM   #1
Comatose51
Member
 
Registered: Jan 2003
Location: New Haven, CT
Distribution: RedHat 8.0
Posts: 54

Rep: Reputation: 15
Passing commands via ssh


Is there a way to pass commands to a *nix box via ssh?

We have a script running on a Windows box. We need it to run a bunch of commands on a *nix machine. Is there anyway to do it?
 
Old 04-13-2005, 05:31 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Yes, just run:
ssh user@host command
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java: passing linux shell commands borgy_t Programming 3 04-19-2005 04:50 AM
shell scripting -- passing commands mehesque Linux - General 4 06-25-2004 11:28 AM
Passing multiple commands to SU adamrad Linux - General 2 03-26-2004 11:53 AM
Passing commands to the compiler with ./cofigure Travis86 Linux - Software 5 10-16-2003 10:01 AM
passing terminal commands joey Linux - General 3 03-21-2002 12:24 PM


All times are GMT -5. The time now is 04:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration