Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SFTP - Help required.......

Status
Not open for further replies.

Roomer

Technical User
Oct 1, 2001
100
GB
....I have a requirement to set up and run with sftp -

Anyone got any information on how I set this up and configure it -

Cheers -



mOOnthelOOn
 
SFTP is fairly east to add to your system. It comes with OpenSSH.

1. Install OpenSSL
2. Install OpenSSH

Use these sites to get OpenSSL and OpenSSH software:

The link for OpenSSL can be found at the top of the OpenSSH page [registration/login required].


rpm (if you do not already have it) can be found here:
 
You need to install OpenSSH=. Full details can be found at where you can download the software. Note that you will also need OpenSSL availabble from the same source. I did the 'out of the box' install and all worked fine with no further configuration.

Columb Healy
Living with a seeker after the truth is infinitely preferable to living with one who thinks they've found it.
 
cool thanks guys -

any idea where I can find a version compatible with v4.3.3?

CHeers

mOOnthelOOn
 
Thanks - I have now managed to download the relevant file, and have extracted it -

I have now installed this via smitty successfully and have the resulting 'rc' files in /etc

-r-xr-xr-- 1 bin bin 2226 Jun 03 1999 rc
-r-xr-xr-- 1 bin bin 3171 Mar 24 2000 rc.bsdnet
-r-xr-xr-- 1 bin bin 1078 Sep 01 1998 rc.C2
-r-xr-xr-- 1 bin bin 1847 Jun 20 1998 rc.dacinet
-rwxrwxr-- 1 root system 2528 Mar 24 2000 rc.dt
-rwx------ 1 root system 1331 Apr 28 1999 rc.ha_star
-r-xr-xr-x 1 netinst ipsec 555 Mar 24 2000 rc.ike
-r-xr-xr-- 1 bin bin 7857 Mar 24 2000 rc.net
-r-xr-xr-- 1 bin bin 5198 Mar 24 2000 rc.net.serial
-rwxr-xr-x 1 root system 4291 Mar 24 2000 rc.nfs
-rwxr--r-- 1 root system 521 Aug 09 2001 rc.nsr
-rwxr-xr-x 1 root system 6373 Sep 23 2003 rc.openssh
-rwx------ 1 root system 31347 Aug 16 1999 rc.powerfail
-rwxr-xr-x 1 root system 963 Mar 24 2000 rc.qos
-rwxrwxr-- 1 root system 4977 Sep 18 2002 rc.tcpip

When I try to 'run' the rc.openssh file, I get the following error -

root@hqax01 /etc >./rc.openssh
Starting OpenSSH daemon on port 22
Could not load program /usr/local/sbin/sshd:
Dependent module libz.a(shr.o) could not be loaded.
Could not load module libz.a(shr.o).
Error was: No such file or directory
rc.openssh: CMD: error detected in '/usr/local/sbin/sshd -f /etc/openssh/sshd_config -h /etc/openssh/ssh_host_key'


Any ideas guys?

mOOnthelOOn
 
Did you do OpenSSL as well? It's available from the same Bull web site.

Columb Healy
Living with a seeker after the truth is infinitely preferable to living with one who thinks they've found it.
 
Have now downloaded openssl, and have extracted -

I have tried to load the .bff file via smit, but to no avail-

When I try to do this, smitty fails to find it -
Full execute permissions have been set on the file...

mOOnthelOOn
 
alternative may be to compile from source. theoretically, that is much more difficult than installing a bff with installp, however it is still kind of easy. also you will get a recent version.

if smit cannot find the file, my only suggestion is to verify the path and filename.

IBM Certified -- AIX 4.3 Obfuscation
 
Ok -
I have now downloaded and installed opsnssh and openssl,
both via smitty -

I now need information on how to set the sshd running so that I amy use sftp -

thanks,

mOOnthelOOn
 
I have recieved an error when running the 'make' command during the zlib install -

cc -O -qmaxmem=8192 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c adler32.c
/bin/sh: cc: not found.
make: 1254-004 The error code from the last command is 127.

any ideas? am I missing a compiler?

mOOnthelOOn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top