How can I toggle it on and off without sbdettings? Any other tweak work?
Why would you want to turn off SSH? It's lightweight and it could save your jailbreak in a pinch. I leave it in all the time just in case, and it has saved my ass on at least one occasion.
You can access your phone's filesystem using a cable as well, without the need of keeping SSH open.
Please explain, as I was under the impression you/me needed SSH to get (s)FTP going to the phone ... at least that is how I have done it
You can access your phone's filesystem using a cable as well, without the need of keeping SSH open.
Sigh. I forget that most of you people have no idea what SSH is really for.
Why would you want to turn off SSH? It's lightweight and it could save your jailbreak in a pinch. I leave it in all the time just in case, and it has saved my ass on at least one occasion.
I would want to turn off ssh to guarantee refusal of any unauthorized log ins to my live file system.
"Sigh". When did I compare root access to the file system to a shell? I've never needed to run commands on my phones in order to save a jailbreak, access to the filesystem was all that was needed.
I would want to turn off ssh to guarantee refusal of any unauthorized log ins to my live file system.
I have. I have been able to uninstall packages using apt-get uninstall over SSH when the AFC service would not load due to a respring loop. If I had had SSH turned off, I would have lost my jailbreak.
Lots of good info here. But to my initial question, on 5s, anyway to toggle on/off openssh?
I see. Doesn't usbmuxd or similar workarounds work with the newer devices?
Lots of good info here. But to my initial question, on 5s, anyway to toggle on/off openssh?
That is just SSH via USB and needs you to download Python also if I remember correctly.
I know, the point was that with physical access to the device one wouldn't need to have SSH enabled "just in case".
Simply change the password and port number.
Simply change the password and port number. SSH is a wonderful thing to leave on. It does a lot more than file system manipulation. And the file system stuff it can do is much better and advanced than anything you can do via a cable. It can even work in some cases where the AFC service doesn't load as its startup position is later whereas OpenSSH's startup is independent from the rest of iOS.
I have. I have been able to uninstall packages using apt-get uninstall over SSH when the AFC service would not load due to a respring loop. If I had had SSH turned off, I would have lost my jailbreak.
A strong password will do the same and give you the ability to gain shell access to your phone if you need it. You have changed your root and user passwords, right?
as with the others, the main reason I use SSH or the AFC service is to access the file system so I apologize if they aren't meant to used in this way
There's a flipswitch switch called "SSH Toggle" that works on my 5s. In the ModMyI repo. Requires Flipswitch, obviously. I use it with FlipControlCenter.