Compatible with iOS 7-16, rootful and rootless jbs.
64-bit only, for older devices there's a separate package called "SSHswitch (32-bit)".

A command line tool for
1. changing the port(s) that OpenSSH listens on
2. toggling:
- OpenSSH server on/off
- whether root login is allowed
- whether password authentication is allowed (or required)
- whether pubkey authentication is allowed (or required)
- whether only localhost can connect (USB and on-device ssh apps)
- whether the SSH server stays off or starts up after rebooting/re-jailbreaking
- whether active sessions get disconnected when turning the server off with this
- whether the toggle tweaks (eg. [OpenSSH CC Toggle]) can be used while the device is locked
3. displaying active ssh/scp/sftp sessions
4. logging them off forcefully
All this works as the mobile user (no need to go root or use sudo).

It's the workhorse behind the GUI tools
"OpenSSH CC Toggle" (u.blanxd.opensshcc),
"OpenSSH Settings" (u.blanxd.opensshport) and maybe a few more toggles.
These 3 (CC Toggle, Settings, and the cli switch) used to be bundled together, all-in-one, as "SSH Toggle and Port" (u.blanxd.sshoncc).

See 'SSHswitch -h' on the command line to learn the subcommands and options.
There is also documentation in Files.app (since v.1.1.0) and (/var/jb)/var/mobile/Documents/.


See 'SSHswitch -h' on the command line to learn the subcommands and options.


blanxd on Reddit

blanxd on Gitlab
Advertisements

* Added option to only allow connections from localhost
* Added rootless support
* Fixed denying password auth on systems using PAM
* Enabled a lot more API type subcommands' output, and it changed a bit
* Changed where/how the preferences are handled
* Revised the OpenSSH conf files backup system
Updated July 21, 2023
License Free Package
More Packages from Developer
Submit Your Tweak or App
Follow @BigBoss on Twitter
Terms and Conditions

Advertisements