Reputation
311
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 5 14
Impact
~34k people reached

  • 0 posts edited
  • 0 helpful flags
  • 17 votes cast
Sep
2
comment Expect Script wait Command Hangs
I know about public key authentication and there are reasons why that won't work in my case. Any ideas why the expect script is behaving unexpectedly?
Sep
2
comment Expect Script wait Command Hangs
Thnx for pointing that out, though that is there in the code; I made a typo transcribing it.
Sep
2
revised Expect Script wait Command Hangs
Fixed here doc end tag
Sep
1
asked Expect Script wait Command Hangs
May
17
asked open source web application for viewing .ics calendars
Apr
22
comment Installing Linux kernel 2.6.25.14 on RHEL 5.4
That was the ticket, thanks!
Apr
22
accepted Installing Linux kernel 2.6.25.14 on RHEL 5.4
Apr
22
asked Installing Linux kernel 2.6.25.14 on RHEL 5.4
Mar
22
accepted Enabling publickey authentication for server's sshd
Mar
22
answered Enabling publickey authentication for server's sshd
Mar
15
awarded  Editor
Mar
15
revised Enabling publickey authentication for server's sshd
added 137 characters in body
Mar
15
asked Enabling publickey authentication for server's sshd
Jan
15
accepted make noise on redhat when command is finished
Jan
15
asked make noise on redhat when command is finished
Jan
14
accepted unix user alias
Jan
14
asked unix user alias
Dec
9
accepted Execute rsync command over ssh with an ssh agent via crontab
Dec
9
comment Execute rsync command over ssh with an ssh agent via crontab
all i needed was to source the SSH_AUTH_SOCK and SSH_AGENT_PID env variables (i put them in .ssh-agent instead of .ssh/agent/) so this was what i ended up with: "0 9 * * * . $HOME/.ssh-agent && rsync -av $HOME/mydir remote_machine:"
Dec
9
comment Execute rsync command over ssh with an ssh agent via crontab
so do i put all of the agent stuff in a script followed by the rsync command, or can i put that in some .profile or .bashrc file that cron loads automatically when it starts a shell for a cronjob?