What port do your samples for SSH use? - WeOnlyDo Discussion board

What port do your samples for SSH use? (wodSSH / wodSSH.NET)

by Gears, Monday, August 22, 2005, 16:18 (7033 days ago)

Quick question:

I am using one of your samples 1.Sample from your wodSSH.exe setup program and I get a an error The requested connection has been refused by the remote host . For the hostname, I enter an IP address, and then I enter in my username and password. However, when I use another program for SSH remote logon program (called Putty) it seems to work. The one thing in your simple program is I cannot specify a port nuimber (I want to use port 22) I am not sure whether that is the standard port number for SSH but I figured I'd ask to make sure. If that is not the problem, do you have an other suggestions or reference material that I can refer to?

Thanks for Your help,

Gears

Re: What port do your samples for SSH use?

by wodSupport, Monday, August 22, 2005, 17:15 (7033 days ago) @ Gears

Gears,

we also use port 22, that's default value.

Oh... I think '1. Simple' sample actualy uses Telnet protocol. Can you change code so that

Ssh1.Protocol = SSHAuto
Ssh1.Port = 22

prior to calling 'Connect' method?

Re: What port do your samples for SSH use?

by Gears, Monday, August 22, 2005, 21:27 (7032 days ago) @ wodSupport

Gears,

we also use port 22, that's default value.

Oh... I think '1. Simple' sample actualy uses Telnet protocol. Can you change code so that

Ssh1.Protocol = SSHAuto
Ssh1.Port = 22

prior to calling 'Connect' method?

Re: What port do your samples for SSH use?

by Gears, Monday, August 22, 2005, 21:28 (7032 days ago) @ Gears

Gears,

we also use port 22, that's default value.

Oh... I think '1. Simple' sample actualy uses Telnet protocol. Can you change code so that

Ssh1.Protocol = SSHAuto
Ssh1.Port = 22

prior to calling 'Connect' method?


Everything worked great....thanks