Do any solutions exist to SSH to a computer using SMS

2

There exists smart phone apps that allow you to SSH to a machine.

Aside from the fact that this may be a really bad idea (security-wise), are there any programs/services that allow you to SSH to a machine from a phone using SMS? Would that even be possible?

I'm envisioning something that would allow you to execute a command by sending a SMS message, and receive the reply via SMS message after a few seconds. Not sure how persistence would work under such a circumstance... (pardon the purely speculative question)

Jeff B

Posted 2012-03-23T15:35:12.243

Reputation: 1 689

Question was closed 2012-03-27T02:44:38.723

Persistence would work similar to the "web SSH" programs - the gateway server keeps sessions open, with a certain timeout, and selects the right session based on some identifier (phone number or HTTP cookie). – user1686 – 2012-03-23T16:25:23.963

I would look for possibly some kind of "Remote control via email" system, if you can get the SMS message forwarded to the email address it should work. – Scott Chamberlain – 2012-03-23T17:04:07.923

1

Sounds only marginally better than SSH over RFC1149

– RedGrittyBrick – 2012-03-23T17:29:47.393

Answers

3

SMS is not encrypted. So you need an encrypting layer on top of it. Thus, you will need an application on your phone to encrypt the message (and possibly pack your command into multiple SMS messages if it won't fit into the limit of a single message), and another application on the other end to decrypt it. The application should also address the fact that sometimes SMS messages do not get through and therefore backend acknowledgement messages would need to be sent.

Then you need to solve the issue of receiving the SMS message on the computer end. I do believe applications exist for Android to forward incoming SMS messages to somewhere else such as your PC, if not, they are possible to create. GSM modems would be your best bet for directly receiving SMS messages from a device without intermediary software.

I have not tried this so I don't know what software is out there to accomplish it. It is possible though.

LawrenceC

Posted 2012-03-23T15:35:12.243

Reputation: 63 487

2Android is not necessary; almost any mobile phone that has a "modem" mode (over cable, IrDA or Bluetooth) will allow accessing SMS messages using Hayes AT commands. – user1686 – 2012-03-23T16:23:35.540

1Figures @grawity would mention the old school AT commands. – surfasb – 2012-03-24T01:22:00.767

Yea, I figured it wouldn't really work... but was curious. Thanks for the detailed answer. I guess the answer for my personal scenario (ssh on the go) may be to get a smartphone with an app that can do that ;) Thanks! – Jeff B – 2012-03-24T14:29:50.783

@surfasb: In my times, all phones had a standard protocol for accessing this stuff. :/ – user1686 – 2012-03-24T19:33:25.213

@Jeff: try midpssh if you need J2ME. – user1686 – 2012-03-24T19:34:10.690

0

Of course it's possible, but it's such a bad idea in terms of security and logistics that I highly doubt such a thing exists.

jjlin

Posted 2012-03-23T15:35:12.243

Reputation: 12 964

How is it possible? Why is it a bad idea? – Tamara Wijsman – 2012-03-24T01:23:55.240