Sponsored Content
Homework and Emergencies Homework & Coursework Questions Accessing one UNIX node from another node of the same server Post 302887066 by techy1 on Wednesday 5th of February 2014 12:41:50 PM
Old 02-05-2014
well lets say you can't use cron for whatever reason. maybe your not in the cron.allowed list. I'd hope you can use ssh.

I use the command

Code:
ssh -tt

to run commands on remote host

if you have a list of commands in a file to be executed you could do something like this:

Code:
while read line
do
ssh -tt $line 
done < <file>

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Tree directory structure of Unix to get final node path

Hi, I want to list all the last directories from mentioned base path. for eg: If i have a base path say /base/base1/ How can i get the path till last node in tree like directory structure of unix by applying any command. so that i will get following output. ... (7 Replies)
Discussion started by: Shiv@jad
7 Replies

2. Red Hat

Node size

Hi, Does the output of the command numactl --hardware available: 1 nodes (0-0) node 0 cpus: 0 1 node 0 size: 8155 MB node 0 free: 3231 MB No distance information available. where, node 0 size: 8155MB mean that the local memory associated with node 0 is 8155MB? Can anyone guide me... (0 Replies)
Discussion started by: heartbreakkid
0 Replies

3. SuSE

Node size

Hi, Does the output of the command numactl --hardware available: 1 nodes (0-0) node 0 cpus: 0 1 node 0 size: 8155 MB node 0 free: 3231 MB No distance information available. where, node 0 size: 8155MB mean that the local memory associated with node 0 is 8155MB? Can anyone guide me... (1 Reply)
Discussion started by: heartbreakkid
1 Replies

4. Linux

Accessing node size

Hi, Does the output of the command numactl --hardware available: 1 nodes (0-0) node 0 cpus: 0 1 node 0 size: 8155 MB node 0 free: 3231 MB No distance information available. where, node 0 size: 8155MB mean that the local memory associated with node 0 is 8155MB? Can anyone guide me... (0 Replies)
Discussion started by: heartbreakkid
0 Replies

5. UNIX for Dummies Questions & Answers

I-node and sessions

I have a program (written by me, for educational purposes) called "analyzer". The program takes a parameter, a filename, and does some statistics on it (for example, word's number, line's number, ... ) at regular intervals. My teacher told me that if the file is edited while the "analyzer" is... (4 Replies)
Discussion started by: hurricane
4 Replies

6. Solaris

SVM metaset on 2 node Solaris cluster storage replicated to non-clustered Solaris node

Hi, Is it possible to have a Solaris cluster of 2 nodes at SITE-A using SVM and creating metaset using say 2 LUNs (on SAN). Then replicating these 2 LUNs to remote site SITE-B via storage based replication and then using these LUNs by importing them as a metaset on a server at SITE-B which is... (0 Replies)
Discussion started by: dn2011
0 Replies

7. HP-UX

Mount FIle systems from node-1 onto node-2

Hi, We have HP UX service guard cluster on OS 11.23. Recently 40+ LUNs presented to both nodes by SAN team but I was asked to mount them on only one node. I created required VGs/LVs, created VxFS and mounted all of them and they are working fine. Now client requested those FS on 2nd node as... (4 Replies)
Discussion started by: prvnrk
4 Replies

8. Infrastructure Monitoring

Using Node-RED and MQTT to Monitor Server and Application Stats

After setting up MQTT and testing some ESP8266 and ESP32 modules, where I noted that testing in Programming ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages, I was so impressed with MQTT that I installed MQTT on three different computers, instantly and... (2 Replies)
Discussion started by: Neo
2 Replies

9. Programming

Node-RED: Writing MQTT Messages to MySQL DB with UNIX timestamp

First, I want to thank Neo (LOL) for this post from 2018, Node.js and mysql - ER_ACCESS_DENIED_ERROR I could not get the Node-RED mysql module to work and searched Google until all my links were purple! I kept getting ER_ACCESS_DENIED_ERROR with the right credentials. Nothing on the web was... (0 Replies)
Discussion started by: Neo
0 Replies
SSH-KEYSIGN(8)						    BSD System Manager's Manual 					    SSH-KEYSIGN(8)

NAME
ssh-keysign -- ssh helper program for host-based authentication SYNOPSIS
ssh-keysign DESCRIPTION
ssh-keysign is used by ssh(1) to access the local host keys and generate the digital signature required during host-based authentication with SSH protocol version 2. ssh-keysign is disabled by default and can only be enabled in the global client configuration file /etc/ssh/ssh_config by setting EnableSSHKeysign to ``yes''. ssh-keysign is not intended to be invoked by the user, but from ssh(1). See ssh(1) and sshd(8) for more information about host-based authen- tication. FILES
/etc/ssh/ssh_config Controls whether ssh-keysign is enabled. /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_rsa_key These files contain the private parts of the host keys used to generate the digital signature. They should be owned by root, read- able only by root, and not accessible to others. Since they are readable only by root, ssh-keysign must be set-uid root if host- based authentication is used. /etc/ssh/ssh_host_dsa_key-cert.pub /etc/ssh/ssh_host_ecdsa_key-cert.pub /etc/ssh/ssh_host_ed25519_key-cert.pub /etc/ssh/ssh_host_rsa_key-cert.pub If these files exist they are assumed to contain public certificate information corresponding with the private keys above. SEE ALSO
ssh(1), ssh-keygen(1), ssh_config(5), sshd(8) HISTORY
ssh-keysign first appeared in OpenBSD 3.2. AUTHORS
Markus Friedl <markus@openbsd.org> BSD
December 7, 2013 BSD
All times are GMT -4. The time now is 03:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy