Hi Piarpaolo,
I can get an error return code of 1 if the whole directory path
given to the ssh-keygen program doesn't exist, or is not writable
(permissions):
e.g.
ssh-keygen -q -f /tmp/junk/hostkey -t rsa -N ''
returns 1,
but
ssh-keygen -q -f /tmp/hostkey -t rsa -N ''
returns 0
James Burnash
-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-
bounces@xxxxxxxxxxx] On Behalf Of Pierpaolo Minelli
Sent: Wednesday, September 16, 2009 7:46 AM
To: condor-users@xxxxxxxxxxx
Subject: [Condor-users] Problem with sshd.sh, ssh-keygen and
Parallel Universe
Hi,
i have a problem using mpi wrapper script on my cluster (CentOS 5.3).
Sorry for my english.
This is my cmd file:
universe = parallel
executable = mp2script
arguments = a.out
machine_count = 2
log = mpi.log.$(Process)
output = mpi.out.$(NODE).$(Process)
error = mpi.err.$(NODE).$(Process)
notification = error
should_transfer_files = yes
when_to_transfer_output = on_exit
transfer_input_files = a.out, mpd.hosts
queue
When I submit this cmd, I obtain this error file (after inserting 'set
-x' in mp2script):
++ trap sshd_cleanup 15
+++ condor_config_val CONDOR_SSHD
++ SSHD=/usr/sbin/sshd
+++ condor_config_val CONDOR_SSH_KEYGEN
++ KEYGEN=/usr/bin/ssh-keygen
+++ condor_config_val libexec
++ CONDOR_CHIRP=/home/condor/releases/imip8.ba.imip.cnr.it/libexec
++ CONDOR_CHIRP=/home/condor/releases/imip8.ba.imip.cnr.it/libexec/
condor_chirp
++ PORT=4444
++ _CONDOR_REMOTE_SPOOL_DIR=/home/condor/local/spool/
cluster62.proc0.subproc0
++ _CONDOR_PROCNO=0
++ _CONDOR_NPROCS=2
++ mkdir /home/condor/local/execute/dir_3412/tmp
++ hostkey=/home/condor/local/execute/dir_3412/tmp/hostkey
++ /bin/rm -f /home/condor/local/execute/dir_3412/tmp/hostkey /home/
condor/local/execute/dir_3412/tmp/hostkey.pub
++ /usr/bin/ssh-keygen -q -f /home/condor/local/execute/dir_3412/tmp/
hostkey -t rsa -N ''
++ '[' 1 -ne 0 ']'
++ echo ssh keygenerator /usr/bin/ssh-keygen returned error 0 exiting
++ exit -1
ssh-keygen seems not to works properly but i don't know why....
Someone can help me to solve this problem?
Best regards
Piarpaolo
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx
with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/
DISCLAIMER:
This e-mail, and any attachments thereto, is intended only for use
by the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended
recipient of this e-mail, you are hereby notified that any
dissemination, distribution or copying of this e-mail, and any
attachments thereto, is strictly prohibited. If you have received
this in error, please immediately notify me and permanently delete
the original and any copy of any e-mail and any printout thereof. E-
mail transmission cannot be guaranteed to be secure or error-free.
The sender therefore does not accept liability for any errors or
omissions in the contents of this message which arise as a result of
e-mail transmission.
NOTICE REGARDING PRIVACY AND CONFIDENTIALITY Knight Capital Group
may, at its discretion, monitor and review the content of all e-mail
communications. http://www.knight.com
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx
with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/