Lim Hock-Chai wrote:
I'm pretty new in this ssh/sftp environment. The fact is that I
can't tell them apart. I'll check out the remotehost cmd...
"remotehost" in the context that Lukas used:
ssh remotehost cmd
means the remote system user and name. Like so:
ssh user@host cmd
and "cmd" is the actual command you want to run. Text that the remote
command outputs to stdout and stderr will be routed back to you on the ssh
client side.
See here for the man page for the "ssh" utility for more details:
http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1
Note that on IBM i, the ssh command line is the PASE for i environment. So
if you want to run a CL command, you'll need to use the "system" utility:
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/rzalf/rzalfpasesystem.htm
Good luck!
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.