Traceback (most recent call last):
File "<pyshell#23>", line 1, in <module>
stdin, stdout, stderr = session.exec_command('show port')
File "C:\Users\sougoyal\AppData\Local\Programs\Python\Python37-32\lib\site-packages\paramiko\client.py", line 499, in exec_command
chan.exec_command(command)
File "C:\Users\sougoyal\AppData\Local\Programs\Python\Python37-32\lib\site-packages\paramiko\channel.py", line 72, in _check
return func(self, *args, **kwds)
File "C:\Users\sougoyal\AppData\Local\Programs\Python\Python37-32\lib\site-packages\paramiko\channel.py", line 257, in exec_command
self._wait_for_event()
File "C:\Users\sougoyal\AppData\Local\Programs\Python\Python37-32\lib\site-packages\paramiko\channel.py", line 1208, in _wait_for_event
raise e
File "C:\Users\sougoyal\AppData\Local\Programs\Python\Python37-32\lib\site-packages\paramiko\transport.py", line 1982, in run
ptype, m = self.packetizer.read_message()
File "C:\Users\sougoyal\AppData\Local\Programs\Python\Python37-32\lib\site-packages\paramiko\packet.py", line 441, in read_message
header = self.read_all(self.__block_size_in, check_rekey=True)
File "C:\Users\sougoyal\AppData\Local\Programs\Python\Python37-32\lib\site-packages\paramiko\packet.py", line 290, in read_all
raise EOFError()
EOFError
проблема с выводом и вводом команды сеанса paramiko.стандартный вывод, stderr = session.exec_command('show port')