cancel
Showing results for 
Search instead for 
Did you mean: 

SSH to a linux server

SSH to a linux server

Jose_Chaves
New Contributor II

Hi,

 

I trying to make a workflow in XMC. One part of the workflow includes making a ssh to a linux box and run some commands.

 

I try to import paramiko but I get a treceback saying that the modulo does not exist.

 

How can I do a ssh to a linux box from a XMC workflow?

 

Regards,

Jose Chaves

 

1 ACCEPTED SOLUTION

StephanH
Valued Contributor III

Hello Jose,

the easiest way is to add the linux box to XMC like a network device. Create a SNMP profile and a CLI profile.

If your box do not use SNMP (what I assume) set the “Poll Type” to “Not polled” in the device configuration. With these setting you will not receive SNMP alarms.

=> After that you should be able to access your linux box via “right mouse->terminal”.

Now you can access your device like a switch via scripting or workflows.

 

 

Regards Stephan

View solution in original post

2 REPLIES 2

Jose_Chaves
New Contributor II

Hi,

 

It worked perfectly.

 

Thanks

StephanH
Valued Contributor III

Hello Jose,

the easiest way is to add the linux box to XMC like a network device. Create a SNMP profile and a CLI profile.

If your box do not use SNMP (what I assume) set the “Poll Type” to “Not polled” in the device configuration. With these setting you will not receive SNMP alarms.

=> After that you should be able to access your linux box via “right mouse->terminal”.

Now you can access your device like a switch via scripting or workflows.

 

 

Regards Stephan
GTM-P2G8KFN