No connection Made - WeOnlyDo Discussion board

No connection Made (General questions)

by dk, Wednesday, February 22, 2006, 11:32 (6852 days ago)

Hi,

1. I am trying to use sftp.net to connect to a machine which is SSH1 and this throws an exception No connection could be made because the target machine actively refused it . Is SSH1 causing this to fail ?

2. On another machine where i am able to connect using login/password, How do we authenticate using private key ?
ftp.PrivateKey = System.Text.Encoding.UTF8.GetBytes(priv);
throws an exception : Invalid key format . I am assinging the priv variable a the binary format of the key.

Please Help

Thanks
Dk.


Complete thread: