The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Execute command from terminal on remote machine Ranu Shell Programming and Scripting 0 10-09-2007 01:13 AM
how to execute a script on remote machine balireddy_77 Shell Programming and Scripting 4 09-27-2006 04:45 PM
How to execute a remote file with local command Veera_Raghav HP-UX 0 06-10-2006 11:21 AM
Question about how to execute command on the Sorias from the remote. GCTEII Shell Programming and Scripting 3 06-06-2006 08:48 PM
Remote execute a file via ftp giannicello UNIX for Dummies Questions & Answers 4 01-17-2003 07:47 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-04-2006
Registered User
 

Join Date: Jul 2006
Posts: 36
execute a command in remote

how exec a command (ex. a cut or grep ) in anoter pc

i have IP address, login and password. (another account of unix system)

what's the sintax of command ???

es. my ip is 192.xx.xx.xx i make a exec of "ls" redirect in outpu file (> "file) in another pc ( ip 192.44.55.2xxx)
Reply With Quote
Forum Sponsor
  #2  
Old 08-04-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 989
Given an IP address, username, and password, you can use ssh to login to other machines, i.e.
Code:
ssh username@hostname command
It will ask you for the password every time.
Reply With Quote
  #3  
Old 08-07-2006
Registered User
 

Join Date: Mar 2006
Posts: 5
What if you wanted to access your a computer over the internet, but it was on a lan too (it's ip is spit up by a router).... username@ip_address wouldn't work would it?
Reply With Quote
  #4  
Old 08-08-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 989
'ssh username@ipaddress' should still work, if you're actually ON that lan branch. If it's across the internet behind a NAT firewall, it won't, not unless you arrange for that router to forward port 23 to your computer.

Last edited by Corona688; 08-08-2006 at 07:27 AM.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0