I am trying to setup a measure of automation to activate a broadcast Virtual AP on a schedule. I am trying to do it via SSH to turn on once a month for a meeting. I have figured out how to setup plink to login, but cannot get the setup to send out the command structures.
C:\Scripts\plink.exe -v -ssh ***.***.***.*** -l admin -pw ******** -m C:\Scripts\xxxxxxxx.txt
----------------------------------------
en
********
configure terminal
wlan virtual-ap "xxxxxxxx"
wlan virtual-ap "xxxxxxxx" vap-enable
write me
- Here is the spit out from powershell:
Connecting to ***.***.***.*** port 22
We claim version: SSH-2.0-PuTTY_Release_0.70
Server version: SSH-2.0-OpenSSH
Using SSH protocol version 2
Using Diffie-Hellman with standard group "group14"
Doing Diffie-Hellman key exchange with hash SHA-1
Server also has ssh-dss host key, but we don't know it
Host key fingerprint is:
ssh-rsa 2048 *X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X
Initialised AES-256 CBC client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 CBC server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Using username "admin".
Attempting keyboard-interactive authentication
Server refused keyboard-interactive authentication
Sent password
Access granted
Opening session as main channel
Opened main channel
Started a shell/command
Server sent command exit status 1
Disconnected: All channels closed