Gentelmen,
This is the second request! Please reply to my help request.
Thanks very much
Farshad
> -----Original Message-----
> From: Javadi, Farshad
> Sent: Friday, April 27, 2001 12:26 PM
> To: '[EMAIL PROTECTED]'
> Cc: Javadi, Farshad
> Subject: I Need Your Help To Make SSH Package To Work With RSA
> SecureID Please
>
> Gentelmen,
>
> I need to make your powerful software to work with RSA securID.
> Please help me to let me know what I should do.
>
> The steps that I did to make the package are in the following, also I will
> attach the following steps in a file too.
>
> Please Help. THANKS!
>
> 1- Go to www.ssh.com==www.ssh.org
> Choose DownLoad
> Clik on "SSH Secure Shell FTP mirror sites"
> Scroll down until you see USA sites
> Choose for example "sunsite.unc.edu:/pub/packages/security/ssh"
> Right click on any packae you want and choose "Save Link As..."
> For example: "ssh-1.2.31.tar.gz" and "ssh-2.4.0.tar.gz"
> gzip -d ssh-1.2.31.tar.gz
> tar -xv ssh-1.2.31.tar
>
> 2- I copied the following files in the "/opt/ace/data" subdirectory:
> a- sdclient.a
> b- sdacmvls.h
> c- sdconf.h
> d- sdi_athd.h
> e- sdi_size.h
> f- sdi_type.h
> g- sdi_defs.h
>
> 3- cd ssh-1.2.31
> ./configure --with-securid=/opt/ace/data --prefix=/usr/local/pkg
> make
> make install
>
> 4- find /usr/local/pkg -print > files
>
> 5- ./configure --with-securid=/opt/ace/data
> make
> make install
>
> 6- Vi files
> To see if I see "/etc/ssh_host_key" and "/etc/ssh_host_key.pub"
> to be removed! I did not see any!
>
> 7- I will remove the "/pkg" from all the paths to make sure my package
> will be installed in the "/usr/local" subdirectory:
> perl -ne 's/\/pkg//; print' files > files2
> cp files2 files
>
> 8- First I put the following line in both "/etc/sshd_config" and
> "/etc/ssh_config" files:
>
> AllowedAuthentications [EMAIL PROTECTED]
>
> Then after installation of the package I started the "sshd"
> daemon but when I tried the "ssh -l fjavadi 204.71.152.87"
> command, I got the following
> error message:
> bad option: alloedauthentications
>
> Second, I removed the above line from both "/etc/sshd_config"
> and "/etc/ssh_config" files and I made sure the following two
> lines in both of the above files are UNcommented:
>
> RhostsRSAAuthentication yes
> RSAAuthentication yes
>
> Then after installation of the package I started the "sshd"
> daemon but when I tried the "ssh -l fjavadi 204.71.152.87"
> command, I got the foolowing
> response:
> Permission denied.
>
> 9- cat files | pkgproto > Prototype
> vi Prototype
> Add the following lines to the end:
> f none /etc/sshd_config 0644 root root
> f none /etc/ssh_config 0644 root root
>
> 10- Add the following lines to the beginning of the Prototype file:
> i pkginfo
> i preinstall
> i postinstall
> i preremove
> i postremove
>
> 11- pkgmk -o -r / -d /tmp -f Prototype
> The "SESSH" made package will be placed in the "/tmp" subdirectory!
> If you need to keep a copy of that package do the following command:
> cp -r SESSH
> /export/home/farshad/Pakages.Dir/SSH.Dir/SSH_For_Solaris_8.Dir
>
> 12- cd /tmp
> tar -cf - SESSH | gzip -9 -c > SESSH.1.2.31.Solaris.8.pkg.tar.gz
> cp SESSH.1.2.31.SPARC.pkg.tar.gz
> /export/home/farshad/Pakages.Dir/SSH.Dir/SSH_For_Solaris_8.Dir
>
> 13- To unpack and install a prepared package simply type in
> gunzip -c SESSH.1.2.31.SPARC.pkg.tar.gz | tar -xvf -
> su -
> pkgadd -d .
> Answer "Y" to following question:
> Do you want to install these as setuid/setgid files [y,n,?,q] y
>
> 14- To remove a package in the current directory say:
> pkgrm -s . (Format: pkgrm -s directory_spool)
> NOTE: The default directory for spooled packages is "/var/sadm/pkg".
>
> NOTE: To be accurate the "pkgrm -s ." will only remove the
> subdirectory which has the same name as the package name,
> for example it will remove the "SESSH" subdirectory under
> under the current directory, the "SESSH" subdirectory will
> have the following files:
> ls -l SESSH
> total 64
> drwxr-xr-x 2 root other 385 Apr 19 17:48 install
> -rw-r--r-- 1 root other 205 Apr 19 17:48 pkginfo
> -rw-r--r-- 1 root other 2636 Apr 19 17:48 pkgmap
> drwxr-xr-x 4 root other 237 Apr 19 17:48 root
>
>
> I Will Apprecite Very Much,
> Farshad
>
> << File: SESSH.txt >>