10 More Discussions You Might Find Interesting
1. 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
2. Solaris
Hi everyone,
I have a Solaris machine:
SunOS 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
After reboot, I can't ssh to this machine. Error message:
ssh: connect to host xxxx port 22: Connection refused
It seems ssh daemon is not running, but I don't have... (5 Replies)
Discussion started by: Zaiwen Gong
5 Replies
3. Solaris
Hello. I am trying to ssh and run a script from a remote computer. These computers will be both Windows and MACs. I am using Solaris 8 and what I have tried is:
using putty
ssh user@ip_address (remote command) /folder/folder/filename.sh
The issue here is that the user profile has not... (3 Replies)
Discussion started by: jkmtm
3 Replies
4. Shell Programming and Scripting
Hi all,
Today I want to write a script to run the commands remotely.
If I run the command as follows:
ssh <user>@<ip> 'ls; pwd'
it works fine.
But when I want to use ssh to set view in clearcase, it will lose the response. as follows
ssh <user>@<ip> 'cleartool setview <view_name>; pwd'... (1 Reply)
Discussion started by: Damon_Qu
1 Replies
5. Shell Programming and Scripting
Hi
I would like to append/modify crontab remotely over ssh and this is what i have tried so far.
text.txt contains the following line.
0,15,30,45 * * * * /home/local/hello.sh
cat text.txt |ssh $host 'tee'
but i dont know how to edit the crontab here after piping it to tee command. (2 Replies)
Discussion started by: xiamin
2 Replies
6. AIX
I am trying to access CDE on AIX5.3 remotely via tsclient(XDMCP)
I installed tsclient and xnest on Linux machines. (Home and Office)
I can access CDE on AIX5.3 from same subnet(In my Office)
but I can't access CDE on AIX5.3 from different subnet(At Home)(I can't see CDE login screen)
I... (2 Replies)
Discussion started by: lifegeek
2 Replies
7. UNIX for Advanced & Expert Users
Hi,
I mean Unix Linux general solution, so please don't move my question, as it's Unix specific.
I would like to remotely control my "full" Linux router.
Already succeeded to compile Linux Unix dialog, running some tests.
The issue is dialog comes with a limited number of widget boxes for... (4 Replies)
Discussion started by: jack2
4 Replies
8. UNIX for Advanced & Expert Users
Hi
Can someone giv me some knowledge on accesing windows from unix and executing DOS scripts using SSH
I would like to know how to go abt it...am new to it.
Thanks in advance (1 Reply)
Discussion started by: lakshmis10
1 Replies
9. UNIX for Advanced & Expert Users
Is it possible to change the password using a shell script, I want to remotely connect to a computer and then change password without manual intevention.
Thanks in Advance
Rishi (4 Replies)
Discussion started by: RishiPahuja
4 Replies
10. Shell Programming and Scripting
Hi,
I am trying to run the below command in perl but when the perl script is executed it prompts a error message saying " ssh: <username>: Name or service not known ". Not able to understand this as this command runs perfectly on the server prompt.
` ssh <username>@pus4026dev df -k >>... (2 Replies)
Discussion started by: be2sp1
2 Replies
dtadvfs(8) System Manager's Manual dtadvfs(8)
NAME
dtadvfs - Starts the AdvFS graphical user interface
SYNOPSIS
/usr/bin/X11/dtadvfs [options] [-N] [-C hostname]
OPTIONS
Turns off information messages about starting up the
asemgr utility. This message is displayed at startup and whenever the file system configuration is changed when the system is running
TruCluster Software. Connects to other hosts that are running the AdvFS GUI daemon, advfsd.
OPERANDS
Uses the standard X Windows options. See the X(1X) and xterm(1X) reference pages for information.
DESCRIPTION
The AdvFS graphical user interface (GUI) organizes AdvFS functionality into system management tasks and makes them available through a
graphical interface.
Issue the dtadvfs command to display the AdvFS GUI Main window. This window serves as both the starting point for all AdvFS GUI-managed
tasks and as a monitor for file-system status. When the Main window is displayed, disk-space usage information is shown for the host and
file domains.
From the Main window, you can choose tasks from the following menus: Choose GUI setup options or exit the GUI. Choose file domain, file-
set, clone, or volume configuration tasks. Choose what information displays on the main window or view devices and volumes information.
Choose file domain balance or defragment procedures.
Online help is available for all tasks and windows available through the GUI. To access help, click on the Help button in any window or
choose Help from the menu bar to display information.
RESTRICTIONS
You must be the root user to use this utility and you must register the Advanced File System Utilities license.
FILES
/Storage_Management/Dtadvfs
The indicator for graphic icons. The dtadvfs message log file. Remove or copy this log to another location periodically to prevent
the log from becoming too large. The AdvFS Manager user-interface executable file. The dtadvfs online help files. The dtadvfs X
resource file. The dtadvfs message catalogs. The GUI graphic icon files. The launch script for the graphic icons.
SEE ALSO
advfs(4), advfsd(8), X(1X), xterm(1X)
dtadvfs(8)