is there a way to display the commands the the remote user is typing -I would like to know a way by which i can log onto a remote system and type commands as the user watched on the console - I know about vnc but that is not what i am looking for -or is it rexec ?
Ndegem
SCSA (4 Replies)
Hello,
Is there a way to use wc, sed or other commands against remote sftp in a regular shell script?
wc -c *.* | grep total | sed s/total// ?
thanks in advance (0 Replies)
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
I have a script that I'm trying to use that will check for files on a remote machine and if there is files copy the files, modify the perm on the copied files, and then delete the files off of the remote server. Right now I need to get the correct syntax so the the remote commands still interpret... (4 Replies)
I want to write a script which would run from one host say A and connect to other remote host B and then run rest of commands in that host. I tried connecting from A host to B with SSH but after connecting to host B it just getting me inside Host B command prompt. Rest of the script is not running... (6 Replies)
Hi,
I have sucessfully set up snmp daemon on my AIX box (v 6.1.2.0).
I can query snmp from localhost (using command: snmpinfo -v -m dump -c public mib-2) and it works perfectly.
But I don't get any reply when query my AIX box from remote machine (AIX, Linux,...)
I have tried to set up SNMP v1... (0 Replies)
snmpget -v 1 -c COMMUNITYSTR hostname OID
what OIDs would I use to get information on all the processes and disk space information that are on a particular host.
where can i find out information on all of this?
thanks (3 Replies)
I solved my issue by using the following code
#!/bin/bash
function GET_STATUS {
#values Active Passive Failed
ssh -a localhost '/home/user/fakecommand.sh'
}
STATE="unknown"
until ]
do
echo $STATE
sleep 5
STATUS=`GET_STATUS`
echo $STATUS | grep Active &&... (1 Reply)
Hi All,
I am working in support and we are planning to automate a system to reduce the direct manual intervention to core system.
Please find the below details.
1. we have a web application that runs on Windows Platform.
2. From web application, we need to connect to remote Unix machine.... (6 Replies)
Hi,
I need to run a script located in a directory on remote server by using ssh authentication from my local unix server. Can anyone help me in this.
I have tried the below command. It worked for echo command but when i tried to open a file using cat command it is showing "cat: cannot open... (6 Replies)
Discussion started by: ssk250
6 Replies
LEARN ABOUT DEBIAN
startsrv
STARTSRV(8) System Manager's Manual STARTSRV(8)NAME
startsrv - invoke ttysrv for a particular host.
SYNOPSIS
startsrv host
DESCRIPTION
startsrv fires up ttysrv for a given host. It will kill any already running instance for that host, then read /etc/remote-
tty/opt/<host>.srv for any options to pass to ttysrv (defaulting to those that set 9600,8n1), /etc/remote-tty/prot/<host>.sock for the per-
missions the socket should be set to (default 660), /etc/remote-tty/owner/<host>.sock for the owner of the socket (default rttymgr:dialout)
and /etc/remote-tty/prot/<host>.log for the permissions of the logfile (default 640).
The device node used is /etc/remote-tty/dev/<host>. This will normally be a symlink to the correct file in /dev.
ttysrv is configured to log to /var/log/remote-tty/<host>/<host>, with a pidfile at /var/run/remote-tty/pid/<host> and the socket at
/var/run/remote-tty/sock/<host>.
SEE ALSO remote-tty(1), ttysrv(8).
AUTHOR
rtty was written by Paul Vixie <vixie@isc.org>. This manual page was written by Jonathan McDowell <noodles@earth.li> for the Debian project
(but may be used by others).
May 23, 2006 STARTSRV(8)