Getting the following when trying to scp from OpenSSH to Fsecure SSH

/usr/bin/ksh: scp: not found.
lost connection

full debug - which shows /usr/local/bin is not in the remote users path :

debug[42136]: /etc/nologin_mtf-3 does not exist.
debug[42136]: Ssh2ChannelSession/sshchsession.c:1082: Freeing confidential

debug[42136]: Ssh2ChannelSession/sshchsession.c:970: Opening log...
(facility: 80)
<86>Mar 30 16:05:04 sshd2[42136]: Now running on egwdba's privileges.

debug[42136]: Environment:
debug[42136]: HOME=/wload/egwd/home/egwdba
debug[42136]: USER=egwdba
debug[42136]: LOGNAME=egwdba
debug[42136]: MAIL=/var/spool/mail/egwdba
debug[42136]: SHELL=/usr/bin/ksh
debug[42136]: TZ=GMT0BST,M3.5.0,M10.5.0
debug[42136]: SSH2_CLIENT=xx.xx.xx.xx 62525 xx.xx.xx.xx 22
debug[42136]: AUTHSTATE=files
debug[42136]: LANG=en_GB
debug[42136]: LOCPATH=/usr/lib/nls/loc
debug[42136]: LC__FASTMSG=true
debug[42136]: ODMDIR=/etc/objrepos
debug[42136]: DEFAULT_BROWSER=netscape
debug[42136]: DOCUMENT_SERVER_MACHINE_NAME=localhost
debug[42136]: DOCUMENT_SERVER_PORT=49213
debug[42136]: CGI_DIRECTORY=/var/docsearch/cgi-bin
debug[42136]: DOCUMENT_DIRECTORY=/usr/docsearch/html
debug[42136]: TMOUT=900
debug[42136]: TIMEOUT=900
debug[42136]: ITECONFIGSRV=/etc/IMNSearch
debug[42136]: ITECONFIGCL=/etc/IMNSearch/clients
debug[42136]: ITE_DOC_SEARCH_INSTANCE=search
debug[42136]: SSH2_SFTP_LOG_FACILITY=-1
/usr/bin/ksh: scp: not found.
lost connection

Anybody got any ideas - ssh works fine !
I suppose I'm really asking how to add /usr/local/bin to the environment
PATH in the debug above ?



Internet communications are not secure and therefore the Barclays Group
does not accept legal responsibility for the contents of this message.
Although the Barclays Group operates anti-virus programmes, it does not
accept responsibility for any damage whatsoever that is caused by
viruses being passed. Any views or opinions presented are solely those
of the author and do not necessarily represent those of the Barclays
Group. Replies to this email may be monitored by the Barclays Group
for operational or business reasons.

Barclays Bank PLC. Authorised and regulated by the Financial Services