03-11-2009
No, absolutely not. The Perl code will still run and operate on the local machine and data. The only thing Net::SSH, Net::Telnet, etc. provide is a way to send shell commands to a remote machine, just as if you'd open an interactive remote session. Think of it as "scripted ssh".
If you want to execute something on the remote machine, create an independent script, copy it to the remote machine, and call it there. Or you build yourself some kind of RPC/MPI mechanism.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I need to access files from a specific folder of a Linux system from an another Linux System Remotely.
I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility.
Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
i first have to ssh into my university account and then through there another ssh into my office computer, from my home computer. I have been trying to transfer files to and from with no such luck.
How do i send a file from home to my office computer.
Do I have to send it to my... (6 Replies)
Discussion started by: yogi1
6 Replies
3. Shell Programming and Scripting
hi,
i want to copy files from a remote computer in a network to a specific directory on my PC. ( script )
Forexample , IP of the remote PC is 172.16.5.24 login:aaaa Passw:123
/folder1/file1.txt to my pc folder /fd/awa.txt
kinldy help
Thanks (2 Replies)
Discussion started by: krabu
2 Replies
4. UNIX for Advanced & Expert Users
hello all,
can i loggin remote computer as a super user(i know root user/passwd) and change his access controlle list. if yes please tell me how to do it, i am new to linux.
thank you. (6 Replies)
Discussion started by: zius_oram
6 Replies
5. UNIX for Advanced & Expert Users
Hello everyone
Does anyone know, if there is a command that tells you who is logged in on remote host?
I'm ssh-ing as root to the remote host and then run whoami but that doesn't tells me who is logged in that particular computer instead shows my remote login. Is there a way to do that?... (2 Replies)
Discussion started by: goude
2 Replies
6. UNIX for Dummies Questions & Answers
Hello, I have a problem - I attended a UNIX course a couple of years back but, unfortunately, I don't remember how to write scripts for shell commands. Now I want to make a script that makes a backup of a folder on a remote computer and I have no idea how to begin. :D
So the idea is that I want... (3 Replies)
Discussion started by: Benedit
3 Replies
7. UNIX for Dummies Questions & Answers
Can someone please help me with copying from remote computer to local computer? I have Winscp installed but for some reason i can seem to get into the server using winscp.
I am currently logged on to the server, so its not a case of remote host unavailable. I really am not sure if the syntax... (2 Replies)
Discussion started by: dollypee
2 Replies
8. UNIX for Dummies Questions & Answers
DELETE (0 Replies)
Discussion started by: morrison71
0 Replies
9. Homework & Coursework Questions
Dear Friends,
This is not a problem , it's a course work (UNIX scenario)....
As part of it I am searching Remote Attacks and find points as
1. Exploiting a listening service
2. Routing through Unix system that is providing security between 2 or more networks
3. User initiated Remote execution... (1 Reply)
Discussion started by: anespa
1 Replies
10. Red Hat
Hi All,
I've been looking at various options at administering several servers remotely like:
- VNC (don't like the lax security of 8 characters max for a password) and
- NX (awesome piece of kit but still limited to a per desktop viewer)...
What I'm looking for is a GUI that... (7 Replies)
Discussion started by: ASGR
7 Replies
xon(1X) xon(1X)
NAME
xon - start an X program on a remote machine
SYNOPSIS
xon remote-host [-access] [-debug] [-name window-name] [-nols] [-screen screen-no] [-user user-name] [command...]
OPTIONS
Note that the options follow the remote host name (as they do with rlogin). Runs xhost locally to add the remote host to the host access
list in the X server. This will not work unless xhost is given permission to modify the access list. Normally, xon disconnects the remote
process from stdin, stdout and stderr to eliminate the daemon processes which usually connect them across the network. Specifying the
-debug option leaves them connected so that error messages from the remote execution are sent back to the originating host. This specifies
a different application name and window title for the default command (xterm). Normally xon passes the -ls option to the remote xterm;
this option suspends that behaviour. This changes the screen number of the DISPLAY variable passed to the remote command. By default, xon
simply uses rsh/remsh/rcmd to connect to the remote machine using the same user name as on the local machine. This option cause xon to
specify an alternative user name. This will not work unless you have authorization to access the remote account, by placing an appropriate
entry in the remote users file.
DESCRIPTION
The xon program runs the specified command (default xterm -ls) on the remote machine using rsh, remsh, or rcmd. xon passes the DISPLAY,
XAUTHORITY and XUSERFILESEARCHPATH environment variables to the remote command.
When no command is specified, xon runs 'xterm -ls'. It additionally specifies the application name to be 'xterm-remote-host' and the win-
dow title to be 'remote-host'.
xon can only work when the remote host will allow you to log in without a password, by having an entry in the file permitting access.
BUGS
xon can get easily confused when the remote-host, user-name or various environment variable values contain white space.
xon has no way to send the appropriate X authorization information to the remote host.
xon(1X)