Hi All,
I used above lines of code for ssh connection and to execute required command.
This code is working if peer device is in "#" prompt but my device is in ">" prompt & I'm unable to execute command (able to login into device)
Thanks in advance
ssh_client=paramiko.SSHClient() ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh_client.connect(hostname = ip, username= user, password = passwd, timeout = 100) stdin, stdout, stderr = ssh_client.exec_command("\npower outlets 17 off\n")
I used above lines of code for ssh connection and to execute required command.
This code is working if peer device is in "#" prompt but my device is in ">" prompt & I'm unable to execute command (able to login into device)
Thanks in advance