Hello !
I just want to install Oreon (it's a plugin for Nagios) but I can't, I have this error when I run the script install.sh
# ./install.sh
functions: 21: Syntax error: "(" unexpected
Have you got an idea ?
Tx (10 Replies)
Hello all.
I have a script I have written which runs a silent install of Mcafee AV and ePO for Mac OS X.
The issue I am wondering about is what happens when the script launches the installers.
The script is fairly simple, and just invokes the shell installer for each app:
#! /bin/sh
... (1 Reply)
Hi,
During an install script I modify the config file several times renamed as conffile.cfg_new. Each time I need to restore it to conffile.cfg.
INSTALLDIR=/app/MyAPP
USERNAME=bianca
RESTORE='rename conffile.cfg_new conffile.cfg ${INSTALLDIR}/conffile.cfg_new'
#example
sed -e... (2 Replies)
Hello there,
If you don't want to here the long version, but still want to answer my question, please skip down to THE BOTTOM!
You can probably tell what I want to do already from the title, so I'll sum up what I have already done real quick:
First off, for those that don't know, a preseed... (1 Reply)
I have an installation script that my customer has been using for some time that exists on a DVD image I send to my customers. The DVD image I send to my customer has now reached the point of becoming multiple DVDs. My customer is in the habit of executing the installation script using the... (0 Replies)
Hi, I am faily new to linux and bash scripting. But essentially what I am trying to do is create a small bash script that will automatically install a driver I want. I can do it manually but I want to create a script so I won't forget, since it is an internet driver I won't be able to get help when... (0 Replies)
Discussion started by: dmacmillan
0 Replies
LEARN ABOUT LINUX
ssh-copy-id
SSH-COPY-ID(1) General Commands Manual SSH-COPY-ID(1)NAME
ssh-copy-id - install your public key in a remote machine's authorized_keys
SYNOPSIS
ssh-copy-id [-i [identity_file]] [user@]machine
DESCRIPTION
ssh-copy-id is a script that uses ssh to log into a remote machine and append the indicated identity file to that machine's ~/.ssh/autho-
rized_keys file.
If the -i option is given then the identity file (defaults to ~/.ssh/id_rsa.pub) is used, regardless of whether there are any keys in your
ssh-agent. Otherwise, if this:
ssh-add -L
provides any output, it uses that in preference to the identity file.
If the -i option is used, or the ssh-add produced no output, then it uses the contents of the identity file. Once it has one or more fin-
gerprints (by whatever means) it uses ssh to append them to ~/.ssh/authorized_keys on the remote machine (creating the file, and directory,
if necessary.)
NOTES
This program does not modify the permissions of any pre-existing files or directories. Therefore, if the remote sshd has StrictModes set in
its configuration, then the user's home, ~/.ssh folder, and ~/.ssh/authorized_keys file may need to have group writability disabled manu-
ally, e.g. via
chmod go-w ~ ~/.ssh ~/.ssh/authorized_keys
on the remote machine.
SEE ALSO ssh(1), ssh-agent(1), sshd(8)OpenSSH 14 November 1999 SSH-COPY-ID(1)