I'm trying to run a set of commands on a remote machine using ssh in a shell script. One of the commands is unzip. But when the execution reaches this command, the script fails with an error that unzip is not found. Below is the code and the error snippet.
sourceDir=$1 ; filename=$3 ; destDir=$2... (4 Replies)
Hi,
I use bru to backup a variety of servers. One of our servers crashed and we had to do an emergency restore. It is working fine. The problem is the backup server refuses to backup the ftp server. The backup server ssh's into the servers and executed the bru command and instructs that that... (1 Reply)
I'm trying to write a script using expect. I'd like the script to execute several commands when the ssh succeeds and i want it to exit if the ssh fails. Does this require to define a time out for the ssh command so that if the prompt is back before this defined time the next commands are executed??... (2 Replies)
Guys,
Need your help coz my server runs in local time GMT +8, but when client use ftp and login, the resulting timestamp seen in each file is in UTC format. We need to set that the time should be the same as GMT +8 when in ftp session.
I am using RHEL 5.3.
root@]# ll
total 1740... (2 Replies)
Unable to set ssh passwordless authentication
I am unable to ssh with passwordless authentication from Windows client onto UBuntu server. The ssh version on UBuntu is OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e , while SSH on Windows Client is OpenSSH_5.1p1, OpenSSL 0.9.8k. I turned on ssh... (5 Replies)
The below while loop is in ksh on a SunOs server: SPARC-Enterprise 5.10
The ksh version is: Version M-11/16/88i
The intention of the below while loop is to read through a list of file names in files.txt and
delete each file from a server, one at a time. The delete works, the problem is that if... (6 Replies)
Hi,
I am triggering a windows exe file using the below command.
ssh user@remoteserver command.exe -option1:xx /option2:yy
This command is working fine from windows command prompt. When I am triggering the same command from ssh I get the error message cant load
Any ideas to deal with... (2 Replies)
I have a constraint to follow organization policy. So i do not have much liberty.
ssh -i /opt/nonprod user1@hostone -t bash works while ssh -i /opt/nonprod -t bash user1@hostone fails
How can I get this to work when I am enforced to put -t bash before the user@hostname ?
Will share debug... (3 Replies)
I have two linux servers viz 12.7.44.18 and 12.7.45.18
I wish to ssh from both these server to a destination AiX server 12.7.33.18
The ssh works from 12.7.44.18 -> 12.7.33.18 but fails from 12.7.45.18 -> 12.7.33.18
The openssl version on both linux source 12.7.44.18 and 12.7.45.18 is the... (7 Replies)
Discussion started by: mohtashims
7 Replies
LEARN ABOUT REDHAT
netdump
NETDUMP-CLIENT(8) System Programs NETDUMP-CLIENT(8)NAME
netdump - send oops data and memory dumps over the network
SYNOPSIS
/etc/init.d/netdump (start|stop|status|restart|propagate)
DESCRIPTION
Loads and configures the netdump kernel modules. Once these are loaded, when the kernel crashes it will send the oops message and a dump of
physical memory to the machine that runs the netdump-server. This can then be used to debug the problem using gdb and a kernel image.
OPTIONS
start Starts the netdump client service. Loads the kernel modules with the right options.
stop Unloads the kernel modules.
status Shows the status of the netdump client
restart
Restarts the netclient modules with new configurations.
propagate
Sends the ssh public key needed to update the random key for each netdump session to the netdump server.
FILES
/etc/sysconfig/netdump
Configuration for the netdump client. You need to at least specify the address of the machine running the netdump server here.
/etc/sysconfig/netdump_id_dsa.pub
Public key for this machine. Used by the server to authenticate the client. This must be installed on the server, possibly by using
the the propagate capability of the netdump init script, which does:
cat /etc/sysconfig/netdump_id_dsa.pu | ssh netdump@$NETDUMPADDR cat '>>' /var/crash/.ssh/authorized_keys2
Where $NETDUMPADDR is the ip or name of the machine running the netdump server.
SEE ALSO netdump-server(8), init(8)BUGS
Report any bugs you find to http://bugzilla.redhat.com/bugzilla
AUTHOR
Alexander Larsson <alexl@redhat.com>
Linux 14 Feb 2002 NETDUMP-CLIENT(8)