bitprophet/ssh — Issue #11: if ssh port not default port 22,for example 29418,will get SSHException
Author: zhangchunlin
Created: 2012-03-07 02:13:12+00:00
State: open

part of my trackack:
File "/home/zhangcl/devel/rcontrol/apps/Rcontrol/views.py", line 13, in remotecmd
client.connect(hostname,port=int(port),username=username,password=password)
File "/usr/local/lib/python2.6/dist-packages/ssh-1.7.13-py2.6.egg/ssh/client.py", line 316, in connect
self._policy.missing_host_key(self, server_hostkey_name, server_key)
File "/usr/local/lib/python2.6/dist-packages/ssh-1.7.13-py2.6.egg/ssh/client.py", line 85, in missing_host_key
raise SSHException('Unknown server %s' % hostname)
ssh.SSHException: Unknown server [v]:29418

And if it is port 22,I test ok.