04-09-2014
If you search these fora, there's plenty of examples of exactly this, disk usage on several servers using ssh.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Will UNIX Sytem 5, release 3 run on a Pentium (clock speed 100-200 MHz)?
thanks (5 Replies)
Discussion started by: samklyle
5 Replies
2. Programming
i want to know the return value of calling system function in the sco unix 5.0.5.what is the meaning of the return value?
............
int ret;
char cmd;
strcpy(cmd,"compress -F -c file >file.Z");
ret = system(cmd);
.............
i want to know how to judge whether the file's compress is... (4 Replies)
Discussion started by: hit
4 Replies
3. HP-UX
Using HP-UX v11
Need to monitor cpu and memory usage, total for system and separately for each user in command-line mode.
Found out next ways to monitor total cpu usage under hp-ux:
1) vmstat, also shows free memory
2) sar -M
ps -eo user,pcpu - does not work, means 'user-defined format'... (4 Replies)
Discussion started by: hp-ux-user
4 Replies
4. UNIX for Dummies Questions & Answers
how can we determine the disk space
used by a certain directory? (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
Can anyone help me..
I want to know the command to check the overall CPU usage of the server.
Note:
I don't want the CPU usge of each and every process.
I just want to know thw aggregate CPU utilization of the server. (2 Replies)
Discussion started by: Selva_Kumar
2 Replies
6. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
7. Shell Programming and Scripting
Hi Gurus,
I'm a unix newbie and I would like to connect to multiple unix servers from unix server using shell script i.e from server a to server b,c,d etc. I want to copy the files from unix server a to server b, c, d. I can access staright using ssh without the need to have password and user... (5 Replies)
Discussion started by: sexyTrojan
5 Replies
8. UNIX for Dummies Questions & Answers
I want to know the total cpu usage(in %ge)of unix server like windows
(NOTE :-not each process cpu usage)
Its urgent...plzzzz help me.... (1 Reply)
Discussion started by: rohit kataria
1 Replies
9. UNIX for Dummies Questions & Answers
Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies
LEARN ABOUT DEBIAN
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)