10-06-2009
If you use the ssh tunneling (-X) then you don't have to worry about firewalls in between because it is all tunneled down the single port 22 TCP connection.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a box here that can only be accessed with telnet. now, i was wondering if anyone know of a way of which i can run a command on that box remotely. (2 Replies)
Discussion started by: Terrible
2 Replies
2. Shell Programming and Scripting
now, i have a program that i would very much prefer to run remotely as i hate having to log into the box it is on.
the problem is, every command i have tried to run this remotely doesn't work.
the commands tries to kick off the program on the remote box but then hangs.
like take for... (3 Replies)
Discussion started by: Terrible
3 Replies
3. HP-UX
hi to all,
I am installed mozilla on hp-ux machine.
That was after installing the software, i just do, the gunzip to that depot file, then untar it.
after what i have to do.
b'coz i am new to hp-ux.
i don't know which script i have to run.
thanks & regards,
Balaraju. (3 Replies)
Discussion started by: balarajum
3 Replies
4. Shell Programming and Scripting
If I run this
# ssh remote-server 'du -sk /usr/platform/`uname -i`/'
174 /usr/platform/SUNW,Sun-Fire-V245
I get my output just fine,
However, if i try to do the same but populate a local variable within my script called for example 'result'
#!/bin/ksh
result=`ssh remote-server... (3 Replies)
Discussion started by: hcclnoodles
3 Replies
5. Solaris
Hi
Can i ask?
I had multiple solaris workstation running and some local users using it. Is it possible to bind to the local user terminal or console he's using as if like the user well type and I can see it and what my typing in the local user see it also.
Is it possible..
Thanks. (3 Replies)
Discussion started by: jao_madn
3 Replies
6. Shell Programming and Scripting
When i use ssh command to execute local script on remote server , I am unable to do it.
Please let me know how this can be done in ksh
req=abc
dte=ghd
ssh username@hostname "$req $dte" < run_script.sh (2 Replies)
Discussion started by: lalitpct
2 Replies
7. Shell Programming and Scripting
facing issue with then error while running a local script aginst a remote server. i facing the same issue in multiple scripts. So what i am missing here or what is needed.
#!/bin/ksh
echo "enter the filename"
read file
if
then
echo "file exists"
else
echo "file does not exists"
fi
... (0 Replies)
Discussion started by: NarayanaPrakash
0 Replies
8. Shell Programming and Scripting
Hello,
Please, what is the difference between running a script remotely:
ssh -t root@$machine -x "sshpass -p 'ubuntu' ssh -t ubuntu@$address -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/nul -x './c-launch.sh'"
and running a script directly on the host:
... (1 Reply)
Discussion started by: chercheur111
1 Replies
9. Shell Programming and Scripting
Hi all.
I need a bash script to run a function remotely. I think it should be similar to the following but can't figure out the exact syntax.
Here is the script:
#!/bin/bash
function nu ()
{
for var in {0..5}; do printf "$var, "; done; echo
}
ssh host "$(typeset -f); nu"
... (9 Replies)
Discussion started by: ziguy
9 Replies
10. UNIX for Beginners Questions & Answers
Dear Experts,
I have found this script on internet that can be used to execute local script remotely
#!/bin/bash
# runremote.sh
# usage: runremote.sh localscript remoteuser remotehost arg1 arg2 ...
realscript=$1
user=$2
host=$3
shift 3
# escape the arguments
declare -a args
... (4 Replies)
Discussion started by: mukulverma2408
4 Replies
pdweb(1M) pdweb(1M)
NAME
pdweb - start the HP-UX Peripheral Device tool, part of the System Management Homepage Web interface.
SYNOPSIS
Path:
DESCRIPTION
The HP-UX Peripheral Device tool (pdweb) can be used to easily and quickly view I/O devices and OLRAD cards. It helps manage hot pluggable
PCI slots on systems that support adding and replacing cards without rebooting. On all HP-UX systems, will display the I/O devices and can
be used to (re)create device files for a selected device.
The HP-UX Peripheral Device tool user interface uses a Web browser. Executing the command, with DISPLAY variable set and without any
options performs the following tasks:
o start the System Management Homepage Web server and
o start a Web client (browser)
An attempt will be made to connect to the browser specified with the BROWSER environment variable, or Mozilla, or Netscape. The Web
browser will be displayed on the X server defined by the DISPLAY environment variable. If a running browser is found, it will be used,
otherwise a new session will be initiated. This will only happen if the browser process is running on the same system used to exectue the
pdweb command (defined by the DISPLAY variable), unless the option is used.
Options
The recognizes the following options:
Opens the terminal interface for Cards and Devices regardless of the
current setting of the DISPLAY environment variable.
Forces a client browser to be used in less secure ways.
Two security features are overridden by the option.
The option forces the client browser to be used or started, even if the X-traffic between the X-server and the Mozilla
browser is not secure.
When is invoked by the option is used.
Only a priviledged user (root) can execute When used with the option, a temporary login bypass key will be generated. The
bypass key allows the user to access the Web interface without having to provide login information again.
Only use this option if you are sure the network traffic is secure between the host where Mozilla is running, and the host
in the DISPLAY variable.
The browser uses URL http://hostname:2301/ and you may paste this into any browser if a browser does open with the pdweb
command.
Online Help
Once the HP-UX Peripheral Device tool is started, the online help provides details on how to use the tool.
RETURN VALUES
Upon completion, returns one of the following values:
Successful.
An error occurred.
AUTHORS
pdweb was developed by Hewlett-Packard
SEE ALSO
hpsmh(1M), smhstartconfig(1M), olrad(1M), ioscan(1M), insf(1M)
pdweb(1M)