[Bug 262] New: ssh fails when run by cron.
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Mon Jun 3 15:21:56 EST 2002
http://bugzilla.mindrot.org/show_bug.cgi?id=262
Summary: ssh fails when run by cron.
Product: Portable OpenSSH
Version: 3.0.2p1
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: glen.lapham at ncr.com
I'm running OpenSSH v3.0.2 on MP-RAS. I am having problems running ssh by cron.
I can run a script from the command line which executes ssh and does a simple
'who' on the remote system (running OpenSSH v3.1). The script is:
/usr/local/bin/ssh <user at host> "who"
When I run it from cron, I get the error: select: No such device or address
I turn DEBUG3 on and get the following just before the above error:
debug3: channel_close_fds: channel 0: r 6 w 7 e 8
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug2: fd 2 is not O_NONBLOCK
It seems to be a file descriptor problem when it is freeing fds.
In the crontab, I have tried /usr/bin/ksh and /usr/bin/-ksh. Same thing
happens. Have also tried v3.2.2 and used the -T option. No luck.
Has anyone encountered this before on any OS?
Glen
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-unix-dev
mailing list