Closed engageant closed 8 years ago
I have prepared one patch but I can't test it with real equipments. Could you test it and provide me with some feedback?
add method test.example.com {ssh:2222}
Apologies but I no longer have access to any Cisco SMB devices to test with.
On Fri, Sep 18, 2015, 6:40 PM chrpinedo notifications@github.com wrote:
I have prepared one patch but I can't test it with real equipments. Could you test it and provide me with some feedback?
- Configure the switch with the desired ssh port
add method test.example.com {ssh:2222}
- Use the csblogin and csbrancid files of the 79ff9f9 https://github.com/chrpinedo/rancid-cisco-sb/commit/79ff9f93153f5bb7a6aecf5d7f9a6a3e23f7982d commit.
— Reply to this email directly or view it on GitHub https://github.com/chrpinedo/rancid-cisco-sb/issues/4#issuecomment-141584973 .
Apologies for moving this issue so late :) Since I don't have also Cisco SMB devices, I will try to verify that with this patch rancid tries to establish a remote connection with port TCP/2222 and if it is right I would include the patch. Thanks @engageant !
Is it possible to add support for alternate SSH ports as defined in .cloginrc? It looks like this may be there for telnet, but I can't seem to modify it for SSH. For example...if:
add method sg300.foo.com {ssh:2222}
is in .cloginrc, csblogin should add -p 2222 to the ssh arguments.
Thanks!