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 > 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
How to execute a remote file with local command Veera_Raghav HP-UX 2 01-16-2009 10:42 AM
Execute command from terminal on remote machine Ranu Shell Programming and Scripting 0 10-09-2007 04:13 AM
how to execute a script on remote machine balireddy_77 Shell Programming and Scripting 4 09-27-2006 07:45 PM
Question about how to execute command on the Sorias from the remote. GCTEII Shell Programming and Scripting 3 06-06-2006 11:48 PM
Remote execute a file via ftp giannicello UNIX for Dummies Questions & Answers 4 01-17-2003 10:47 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 08-04-2006
ZINGARO ZINGARO is offline
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)
  #2 (permalink)  
Old 08-04-2006
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,934
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.
  #3 (permalink)  
Old 08-08-2006
Mars8082686 Mars8082686 is offline
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?
  #4 (permalink)  
Old 08-08-2006
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,934
'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 10:27 AM..
Closed Thread

Bookmarks

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 08:21 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