SSH未知的TTY错误消息

When trying to run the command ssh user@ip 'command', I keep receiving this error: can't get tty settingscan't set orig mode. I have tried googling this and searching here but have not found anything referring to this message. I am trying to automate connecting to a Cisco wireless access point (2800 model) using Golang to run a command then exit, but this message pops up each time. I can log in normally using ssh user@ap_ip, but using the shorthand ssh user@ap_ip 'command' or trying the equivalent in Golang gives the error message above. Anyone know what's going on?

查看全部
dounanyin3179
dounanyin3179
2018/05/07 16:58
  • ssh
  • cisco
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复