There is no need to use scp and iFile.
With iOSOpenDev's command-line tool iosod
there are commands to perform what you're trying to do:
iosod build
: Builds a Debian package (does not require dpkg).
iosod install
: Installs a Debian package on an iDevice.
There are even commands to remove and purge packages from an iDevice (iosod remove
, iosod purge
). To see all commands provided, in Terminal type iosod
.