Showing results for 
Search instead for 
Did you mean: 

how to ssh from powershell to ruckus wireless AP (standalone)

New Contributor II

I can start an SSH session to an R300 using these commandlets:

PS C:\WINDOWS\system32> $ruckussession = New-SSHSession -ComputerName -Credential $cred
PS C:\WINDOWS\system32> Invoke-SSHCommand -Index $ruckussession.SessionId -Command $commands

But whatever the $commands, this gives output:

Host       :
Output     : {, Please login: }
ExitStatus : 1

This seems to be the same thing as when logging on via putty: One has to login al thougt credentials are sent with starting the SSH session. How can I overcome this?


Community Admin
Community Admin

Hi Stephen,

This is expected, because Ruckus AP CLI prompts below information when you try to SSH.

Login as

Please login


In "Login as" prompt, you can feed any dummy data, but actual login username is required on "Please login" prompt.

Refer the below login output from putty.

login as: admin

Please login: admin
password :
Copyright(C) 2018 Ruckus Wireless, Inc. All Rights Reserved.

** Ruckus T750 Multimedia Hotzone Wireless AP: xxxxxxxxxxx


Modify your login commands and add the context for "Login as", and it should work.

Syamantak Omer | Sr.Staff TSE | CWNA | CCNA | RASZA | RICXI

@syamantak_omer thanks for your reply. 

I know how to log on interactively, e.g. via PuTTy. But via powershell SSH session, I cannot get it working. What do you mean exactly with: Modify your login commands and add the context for "Login as"?  How can I do this in the powershell script?


Stephan van der Plas

This works:

#$cred = Get-Credential
$ruckussession = New-SSHSession -ComputerName -Credential $cred
$sshshellstream = New-SSHShellStream -Index $ruckussession.SessionId


sleep 2

$sshshellstream.WriteLine('get station wlan10 list')
sleep 2


Thanks for your help. Now I can use this in my Domoticz system for presence detection.


Stephan van der Plas

Hey there, I'm facing the same problem, but trying to connect via Python (Paramiko library) or even Putty-CLI -> where both don't work! When trying manually via putty session it works as described:

1.enter dummer or any USERNAME

2. enter real USERNAME

3 enter PASSWORD


Bun intention is to automate it.

Many thanks for any advise how to solve this