paramiko.ssh_exception.ChannelException:(1,'Administratively prohibited')的根本原因

时间:2017-09-30 02:07:56

标签: python ssh paramiko

我最近一直试图使用paramiko,我偶尔会遇到以下错误。

我无法导致错误。是因为我已经耗尽了与服务器的开放ssh连接的数量?如果是这样,我如何查看现有连接?

  File "/sw/packages/python/current/lib/python2.7/site-
  packages/paramiko/client.py", line 420, in exec_command
  chan = self._transport.open_session(timeout=timeout)
  File "/sw/packages/python/current/lib/python2.7/site-
  packages/paramiko/transport.py", line 704, in open_session
  timeout=timeout)
  File "/sw/packages/python/current/lib/python2.7/site-
  packages/paramiko/transport.py", line 836, in open_channel
  raise e
  paramiko.ssh_exception.ChannelException: (1, 'Administratively 
  prohibited')

0 个答案:

没有答案