by sachin4921 » Wed May 13, 2015 3:45 pm
Hi Hans,
Sorry i forgot to tell you one thing that when i tried sftp command using command prompt at
49222 port, it connected.
Reply to your post:
I got that checked earlier itself,
Both 22 and 49222 ports were open for SSH on the server machine.
So where ever i had tested the code, had both these ports open.
Connection mechanism was only using your library's connect method
of sshftpclient. Remote port was hard coded to 49222.
Second test i did to i disabled default port #22 on one of servers and only 49222 was open for SSH.
Still it din't work.