Jump to content
  • 0
Sign in to follow this  
bzzztomas77

не работает прямое указание команды ssh

Question

День добрый,

пытаюсь разбудить хост:

$ ssh admin@gw "ip hotspot wake 08:60:6e:0c:ed:9b"
admin@192.168.1.1's password: 
[C] May 23 07:12:35 ndm: bin::ndmc: invalid option "-c".

если сначала войти, то все OK:

$ ssh admin@gw 
admin@192.168.1.1's password: 

THIS SOFTWARE IS A SUBJECT OF KEENETIC LIMITED END-USER LICENCE AGREEMENT. BY USING IT YOU
AGREE ON TERMS AND CONDITIONS HEREOF. FOR MORE INFORMATION PLEASE CHECK
https://keenetic.com/legal

(config)> ip hotspot wake 08:60:6e:0c:ed:9b
Hotspot::Manager: WoL sent to host: 08:60:6e:0c:ed:9b.

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
В 23.05.2019 в 07:14, bzzztomas77 сказал:

День добрый,

пытаюсь разбудить хост:


$ ssh admin@gw "ip hotspot wake 08:60:6e:0c:ed:9b"
admin@192.168.1.1's password: 
[C] May 23 07:12:35 ndm: bin::ndmc: invalid option "-c".

если сначала войти, то все OK:


$ ssh admin@gw 
admin@192.168.1.1's password: 

THIS SOFTWARE IS A SUBJECT OF KEENETIC LIMITED END-USER LICENCE AGREEMENT. BY USING IT YOU
AGREE ON TERMS AND CONDITIONS HEREOF. FOR MORE INFORMATION PLEASE CHECK
https://keenetic.com/legal

(config)> ip hotspot wake 08:60:6e:0c:ed:9b
Hotspot::Manager: WoL sent to host: 08:60:6e:0c:ed:9b.

 

Версия ПО у вас какая? В 3.0 должно уже работать.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...