IOS 13 - Siri can run SSH Commands!

IOS 13 - Siri can run SSH Commands!


After the much welcome public release of IOS 13, I noticed something very interesting in the Siri Shortcuts app, "Run script over SSH." Upon further inspection I found that once you select this option, you are given the ability to enter the host name or IP address, the user name, the password, and the command you want to pass to the remote system.

Amazing! Now anyone can interface with Siri.

I have two Routers, one here in my office and another upstairs. It is a difficult task to reset both routers manually. I decided that I should use a Siri Shortcut to do this for me.

I logged into my router setup settings and enabled SSH over the local network.

Siri Shortcuts icon


On my iPhone, I went into the Shortcuts app.

Siri Shortcuts Create Shortcut Section



I created a shortcut by selecting the Plus button labeled "Create Shortcut"




Siri Shortcuts - New Shortcut Settings

I clicked on the thee dots on the upper left to edit the name of my new shortcut.


Siri Shortcuts - Siri Command named



I called it "Reboot all routers."

I left all of the other settings in their default settings.

I touched done on the top left.




Siri Shortcuts - Add Action

I clicked on the + Add Action button and searched for SSH.

Siri Shortcuts - Action Run Script Over SSH





Once the search results populated, I touched Run Script Over SSH.







Siri Shortcuts - SSH Server information and command filled in

I entered the IP address of the first router, User name and Password of the first router, along with the command "reboot"

I added a second "Run script over SSH" and entered the IP address User name and Password of the second router, along with the command "reboot"

I saved the shortcut



I said "Hey Siri Reboot All Routers . . ."

Siri said "Done!" and I saw the lights of the router flash indicating it is rebooting! Success! I jumped for joy!

SSH has obviously become a standard vital tool for system administration in the server Room. It is a surprising and welcome move that Apple has now opened up Siri to the public via the Shortcuts app. We can all now create our own Siri shortcuts!

Enjoy

#IOS #IOS13 #SIRI #SIRISHORTCUTS #SSH #LINUX

要查看或添加评论,请登录

Mr Feng的更多文章

  • Wake up Tech Giants

    Wake up Tech Giants

    It is amazing to me how easily we can be trapped by dogma and how hard it is to see or even break this. It seems that…

    1 条评论
  • Lessons from Steve

    Lessons from Steve

    The brilliant innovator Seve Jobs, told us many times and in many different ways, that the consumer does not know what…

    1 条评论
  • 100% Free "Get to the top of LinkedIn" Package!

    100% Free "Get to the top of LinkedIn" Package!

    LinkedIn is a great social network and is filled with staff that understand what a healthy business social network…

    1 条评论
  • Coronavirus protection for Hospital Staff

    Coronavirus protection for Hospital Staff

    Most hospital air sterilization systems are completely ineffective when it comes to germs and microbes that are so…

    1 条评论
  • Emergency Ventilators You Can Make

    Emergency Ventilators You Can Make

    I have designed two different emergency ventilators that people can make in an emergency with easily sourceable parts…

    2 条评论
  • Make your WordPress website faster than Apple.com FREE! - Part 1 the CDN

    Make your WordPress website faster than Apple.com FREE! - Part 1 the CDN

    Is your website loading slowly? In this guide I will teach you step by step how to make your website load faster than…

    2 条评论
  • Some thoughts on Coulomb's law and why zero data loss is possible.

    Some thoughts on Coulomb's law and why zero data loss is possible.

    This is where many say our understanding of electromagnetism began. "Coulomb's law, or Coulomb's inverse-square law, is…

  • Apple goes from Bash to Zsh, I took it to Fish!

    Apple goes from Bash to Zsh, I took it to Fish!

    Recently after upgrading to OS X Catalina, I opened up a terminal window. I was greeted with a message saying that the…

  • Hacker deletes an entire business!

    Hacker deletes an entire business!

    That's right every server, backup server, offshore server, and the offshore backup servers were wiped clean! Users…

  • On October 5 2011 We lost someone very special.

    On October 5 2011 We lost someone very special.

    Steve, Thank you for teaching us all that we can be better people by relentlessly striving to improve. The world misses…

社区洞察

其他会员也浏览了