Wolfe, Gordon W wrote:
I've got a strange one here.
I have a working copy of SLES9 running under VM. ssh works fine from this
server.
I shut it down and cloned it to another server, changing only about a dozen
configuration files necessary to make it have its own unique identity,
including creating new ssh keys in both /etc/ssh and /root/.ssh.
from the cloned server, I issue "ssh lnx00003" and I get the messages:
/bin/sh: line 1: /usr/local/bin/ncwrapper: No such file or directory
/bin/sh: line 1: exec: /usr/local/bin/ncwrapper: cannot execute: No such file or
directory
ssh_exchange_identification: Connection closed by remote host
However, I can't find the file /usr/local/bin/ncwrapper on EITHER of the two
servers, the original or the clone.
anyone know what's going on?
Gordon, ncwrapper was an ssh proxy script I wrote to allow transparent
ssh through our company socks proxy. It uses Dante (an open source
socks software) and netcat. Your clone and master should have
/usr/local/bin/ncwrapper. I will email you internally to make sure you
you get a copy. It's activated in /etc/ssh/ssh_config with the line:
ProxyCommand /usr/local/bin/ncwrapper %h %p
The script (ncwrapper) tries tries to ping the ip of the host you are
ssh'ing to, if it fails, it assumes the host must be external and so it
will wrap the ssh connection with a dynamically socksified netcat
program. This allows the user to ssh to internal and external hosts
seemlessly.
*Brandon Darbro
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390