Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
SystemAdmin
SystemAdmin
6902 Posts
ACCEPTED ANSWER

Pinned topic scp:not found , lost connection on bash aix

‏2013-02-07T07:45:30Z |
Hi all

The command
scp srcloc destloc

returns
scp:not found
lost connection

which scp returns
/usr/bin/scp

echo $PATH returns
/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin:/usr/dev_infra/platform/bin:/usr/dev_infra/generic/bin:/usr/local/bin

~/.ssh/environment was not present for my username.
have creted the file and the content is as below

cat ~/ssh/environment
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/scratch/home/test/bin:/usr/bin/X11:/sbin:/usr/local/bin

Please help me with this issue
Thanking in advance.