Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-13-2005, 04:24 PM   #1
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, 04:31 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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


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 03:50 AM
shell scripting -- passing commands mehesque Linux - General 4 06-25-2004 10:28 AM
Passing multiple commands to SU adamrad Linux - General 2 03-26-2004 10:53 AM
Passing commands to the compiler with ./cofigure Travis86 Linux - Software 5 10-16-2003 09:01 AM
passing terminal commands joey Linux - General 3 03-21-2002 11:24 AM

All times are GMT -5. The time now is 10:31 AM.

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