Net::SSH with non unix/linux host?

前端 未结 2 1671
陌清茗
陌清茗 2021-01-23 17:26

I am trying to use the Net::SSH library to login and manage a host that supports ssh. It is a piece of telecom equipment and so speaks TL1. I seem to be able to log in successfu

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-23 18:18

    Thanks forker for your updates),

    One more thing,

    from your code how to make this

    puts "got data: #{data.inspect}"
    

    to output data for each command sent to the shell ?

    Does this code wait for each command to complete?

    Thanks.

提交回复
热议问题