#!/bin/sh
# Mirror of Miles Burton's SCP installer.
# http://milesburton.com/index.php/O2_Joggler_Hacks_-_Enabling_SCP_Server
cd /tmp
mkdir /usr/lib/openssh #Create openssh dir
wget http://birdslikewires.co.uk/download/joggler/native/scp/libcrypto.so.0.9.8.txt # Grab cyptolibrary
mv libcrypto.so.0.9.8.txt /usr/lib/libcrypto.so.0.9.8 # Copy to dir
wget http://birdslikewires.co.uk/download/joggler/native/scp/scp.txt # Download binary
mv scp.txt /usr/bin/scp
chmod +x /usr/bin/scp
wget http://birdslikewires.co.uk/download/joggler/native/scp/sftp-server.txt
mv sftp-server.txt /usr/lib/openssh/sftp-server
chmod +x /usr/lib/openssh/sftp-server
wget http://birdslikewires.co.uk/download/joggler/native/scp/ssh-keysign.txt
mv ssh-keysign.txt /usr/lib/openssh/ssh-keysign
chmod +x /usr/lib/openssh/ssh-keysign