Urgent need help - issue sftp

hi experts,

i have a problem with my sftp which install on sparc sun solaris os version 5.9, i have install this packages below on my server :

libgcc-3.3-sol8-sparc-local
openssl-0.9.8d-sol8-sparc-local
zlib-1.2.3-sol8-sparc-local
openssh-4.5p1-sol8-sparc-local

and i had config the ssh but i have a problem that i cannot running sftp with option -b

below is the error :

oracle@ldds-dbs-a:oracle/ssh% sftp -b
sftp: illegal option -- b
usage: sftp [-1vC] [-osshopt = value] [user@]host

but i have installed in other server which same packages it can running.

please advice how to fix it?

thank you for your attention

Regards,

bucci

I suppose that -b flag stands for : use batch file. but it seems that it's not present with the version that you have installed.

Check the man pages on the system that recognises the "-b" flag and compare it to the man page for the system causing you problems.

How sure are you that you're using openssh and not Sun's own version of ssh? What does ssh -V return? Is it openssh or Sun_ssh? Sun ssh/sftp does not support the -b flag, so this may be what's causing you drama.