SSH Batch configuration


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers SSH Batch configuration
# 1  
Old 10-06-2006
SSH Batch configuration

Team,
I am trying to do ssh batch as root. I have ssh set-up to do work w/o requiring password/uid on remotes.

The problem is I need to submit batch work to remote systems, and NOT have my terminal program.sh lock/wait for the response from remote. This is so I can submit batch work to other remotes from the same terminal program.

How do I accomplish this. I will Fandango (thats tickets, dude to the multiplex.) anyone who gives me the answer..
Smilie
# 2  
Old 10-06-2006
Perhaps 'nohup ./script.sh & disown ; exit' ?
# 3  
Old 10-07-2006
SSH Batch work

This the line of code in ?:
ssh -2 -n -q -f -T sysname "remote.sh >/dev/null 2>&1" &

Exactly where should I put the suggested line of code..?

Thanks,
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

OEL 6.3 :Slow login due to /etc/ssh/sshd_config configuration

Version: Oracle Enterprise Linux 6.3 Running on VMWare Workstation When I login to my Linux VM from putty, the third line prompting for password comes only after few seconds. login as: root Access denied root@192.168.0.235's password: ---> It takes around 5 seconds to get this prompt I... (1 Reply)
Discussion started by: John K
1 Replies

2. UNIX for Dummies Questions & Answers

SSH batch help

Dear Gurus, I had hundreds of equipments which i can only use SSH to login and retrieve informations. Thus, how should i do that? eg:ssh batch @ echo off ssh <server1>@10.168.1.1 ECHO testing1 exit ssh <server2>@10.168.1.2 ECHO testing2 exit Can the above method used? :) (6 Replies)
Discussion started by: ymeyaw
6 Replies

3. Solaris

SSH Configuration

hi, I am getting error " connection refused by remote host, using ssh to remote solaris machine. (2 Replies)
Discussion started by: vidyadharpol
2 Replies

4. HP-UX

how to run glance over ssh in batch mode

Hello; Is it possible to run glance over ssh in batch mode ?? Similar to running " top -f " command over ssh.. Need to get glance output for specific pids Thnx very much (5 Replies)
Discussion started by: delphys
5 Replies

5. UNIX for Dummies Questions & Answers

ssh for different user account in a server configuration

Hi team, I am not able to configure the ssh settings for a UserA to do ssh or scp to the UserB in the same server , what could be the best way to do the ssh form UserA to UserB. I've generated the public key in UserA ~/.ssh and kept a copy of that in ~/.ssh of authorized_key of UserB . Still... (1 Reply)
Discussion started by: posix
1 Replies

6. Linux

How to save crontab configuration when using SSH?

Hi, I'm trying to save a crontab configuration using SSH, acessing a Linux machine from a Windows desktop. So, in the prompt I type "crontab -e", to edit crontab, and a window is opened. But after writing the changes, I press Save button but it seems not working, because when... (1 Reply)
Discussion started by: Roger75
1 Replies

7. Solaris

SSH configuration in solaris 10

hye guys..i'm new here..just want to ask how to configure SSH service in solaris 10?? hope you all will help me..tq (2 Replies)
Discussion started by: FaiRiZuL
2 Replies

8. UNIX for Advanced & Expert Users

ssh-keygen configuration problem

I am unable to set password less entry from one server to another even after i have generated public key and have put in the authorized_keys of the target server. When i try to debug the ssh using ssh -v, it gives me debug1: Authentications that can continue:... (14 Replies)
Discussion started by: brandedfundoo
14 Replies

9. UNIX for Dummies Questions & Answers

nicely formatted directory listing from batch ssh session

Hi, I am really struggling to finish of a script I have been assigned. The script's purpose is to log on to each server defined in an array, determine the Web Server version, and list the directory beneath the installation directory. In my case, this installation directory is almost always... (6 Replies)
Discussion started by: grebbux
6 Replies

10. Shell Programming and Scripting

SSH in batch mode and File-Handles in a loop

Hi all I try to execute SSH commands on several hosts in a while-loop. There seems to be a problem with file-handle, first cycle works correct but no other one will follow due to the while condition is false even that there are many more host entries (lines) in all_hosts.dat. ... (3 Replies)
Discussion started by: DaveCutler
3 Replies
Login or Register to Ask a Question