Discussion:
rush and csh on remote host
t0d0r
2010-06-29 13:29:41 UTC
Permalink
Hi, I'm a freebsd fan and mostly use csh as a main login shell.
I got a problem with csh when try to connect to one of my hosts:

Connecting to remotehost...
Pushing credentials

Ambiguous output redirect.
M=: Command not found.
M: Undefined variable.

Rush::SshTunnel::SshFailed: Rush::SshTunnel::SshFailed
method ssh in ssh_tunnel.rb at line 85
method ssh_append_to_credentials in ssh_tunnel.rb at line 43


I print the command in ssh_tunnel.rb (before line 85)

ssh remotehost 'M=`grep 'd2ey:qrvuia9z' ~/.rush/passwords 2>/dev/null
| wc -l`; if [ $M = 0 ]; then mkdir -p .rush; chmod 700 .rush; echo
'd2ey:qrvuia9z' >> ~/.rush/passwords; chmod 600 ~/.rush/passwords; fi'
--
You received this message because you are subscribed to the Google Groups "rush, the Ruby Shell" group.
To post to this group, send email to ruby-***@googlegroups.com.
To unsubscribe from this group, send email to ruby-shell+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ruby-shell?hl=en.
Loading...