Results 1 to 3 of 3

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Question about OpenSSH vs. Nate True's SSH installer package

  1. #1
    Default Question about OpenSSH vs. Nate True's SSH installer package
    Hello Everyone,

    So after hours of frustration and the final success of jailbreaking and activating my iPhone to 1.1.1 I've been attempting to uninstall OpenSSH through installer.app however when attempting to do so I get a "Error: Error during uninstall script execution".

    I then installed services.app in the attempt to be able to turn SSH off and it doesn't show up on the list, am I correct in thinking that the "Nate True installer package" is different than the OpenSSH installer package available through installer.app?

    If so how can I remove the Nate True SSH (I installed this for the jailbreak process of 1.1.1) and then install OpenSSH?

    Any help would be greatly appreciated.

    Thanks!

    - Dan

  2. #2
    in /var/root/Library/Installer

    Edit LocalPackages.plist and remove the following XML element and reboot your phone. You should then be able to install it from Installer.

    <dict>
    <key>bundleIdentifier</key>
    <string>org.smxy.iphone-apps.OpenSSH</string>
    <key>category</key>
    <string>System</string>
    <key>contact</key>
    <string>[email protected]</string>
    <key>date</key>
    <string>1191198310</string>
    <key>description</key>
    <string>OpenSSH Server &amp; Client</string>
    <key>location</key>
    <string>http://psmxy.org/iphone-apps/zips1/openssh-4.6p1-1.zip</string>
    <key>maintainer</key>
    <string>Ste</string>
    <key>name</key>
    <string>OpenSSH</string>
    <key>scripts</key>
    <dict>
    <key>install</key>
    <array>
    <array>
    <string>CopyPath</string>
    <string>Library</string>
    <string>/Library</string>
    </array>
    <array>
    <string>CopyPath</string>
    <string>etc</string>
    <string>/etc</string>
    </array>
    <array>
    <string>CopyPath</string>
    <string>usr</string>
    <string>/usr</string>
    </array>
    <array>
    <string>Exec</string>
    <string>/bin/launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist</string>
    </array>
    <array>
    <string>Notice</string>
    <string>Your first login will take 30-35 seconds, while the host keys are being generated.</string>
    </array>
    </array>
    <key>preflight</key>
    <array>
    <array>
    <string>IfNot</string>
    <array>
    <array>
    <string>InstalledPackage</string>
    <string>com.natetrue.iphone.iphone_binkit</string>
    </array>
    </array>
    <array>
    <array>
    <string>AbortOperation</string>
    <string>You must install the BSD Subsystem package first.</string>
    </array>
    </array>
    </array>
    </array>
    <key>uninstall</key>
    <array>
    <array>
    <string>Exec</string>
    <string>/bin/launchctl unload /Library/LaunchDaemons/com.openssh.sshd.plist</string>
    </array>
    <array>
    <string>RemovePath</string>
    <string>/etc/ssh_config</string>
    <string>/etc/sshd_config</string>
    <string>/Library/LaunchDaemons/com.openssh.sshd.plist</string>
    <string>/usr/bin/scp</string>
    <string>/usr/bin/sftp</string>
    <string>/usr/bin/ssh</string>
    <string>/usr/bin/ssh-add</string>
    <string>/usr/bin/ssh-agent</string>
    <string>/usr/bin/ssh-keygen</string>
    <string>/usr/bin/ssh-keyscan</string>
    <string>/usr/libexec/sftp-server</string>
    <string>/usr/libexec/ssh-keysign</string>
    <string>/usr/libexec/ssh-rand-helper</string>
    <string>/usr/libexec/sshd-keygen-wrapper</string>
    <string>/usr/sbin/sshd</string>
    </array>
    <array>
    <string>RemovePath</string>
    <string>/etc/ssh_host_key</string>
    <string>/etc/ssh_host_key.pub</string>
    <string>/etc/ssh_host_rsa_key</string>
    <string>/etc/ssh_host_rsa_key.pub</string>
    <string>/etc/ssh_host_dsa_key</string>
    <string>/etc/ssh_host_dsa_key.pub</string>
    </array>
    </array>
    <key>update</key>
    <array>
    <array>
    <string>Notice</string>
    <string>Please exit Installer and turn your iPhone off and on, after this update finishes.</string>
    </array>
    <array>
    <string>RemovePath</string>
    <string>/etc/ssh2</string>
    <string>/System/Library/LaunchDaemons/com.sshd.plist</string>
    <string>/usr/bin/scp</string>
    <string>/usr/bin/scp2</string>
    <string>/usr/bin/sftp-server2</string>
    <string>/usr/bin/sftp</string>
    <string>/usr/bin/sftp2</string>
    <string>/usr/bin/ssh-add2</string>
    <string>/usr/bin/ssh-agent2</string>
    <string>/usr/bin/ssh-keygen2</string>
    <string>/usr/bin/ssh-probe2</string>
    <string>/usr/bin/ssh-signer2</string>
    <string>/usr/bin/ssh</string>
    <string>/usr/bin/ssh2</string>
    <string>/usr/bin/sshd2</string>
    <string>/usr/bin/scp1</string>
    </array>
    <array>
    <string>CopyPath</string>
    <string>Library</string>
    <string>/Library</string>
    </array>
    <array>
    <string>CopyPath</string>
    <string>etc</string>
    <string>/etc</string>
    </array>
    <array>
    <string>CopyPath</string>
    <string>usr</string>
    <string>/usr</string>
    </array>
    </array>
    </dict>
    <key>size</key>
    <string>713039</string>
    <key>source</key>
    <string>http://psmxy.org/iphone-apps/</string>
    <key>url</key>
    <string>http://psmxy.org/iphone-apps/info/OpenSSH.html</string>
    <key>version</key>
    <string>4.6p1-1</string>
    </dict>

  3. The Following User Says Thank You to Onyx For This Useful Post:

    odiHnaD (2007-10-14)

  4. #3
    That worked perfectly, thank you very much!

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •