Issue with ScSSHChannel.Connect.
Posted: Sat 09 Mar 2013 08:46
Hello,
I have an issue with ScSSHChannel.Connect.
If I compile the source under Win 7 the application works correctly but if I compile the same source with Win 8 the application give me the following error message:
First chance exception at $76B94B32. Exception class SocketException with message
'Socket error on binding. WSAGetLastError return 10013($271D)
An attempt was made to access a socket in a way forbidden by its access permissions'.
Process TDBRichViewEditor.exe (6412)
The following is the setup of TScSSHClient and TScSSHChannel and I have installed SecureBridge version 5.5.1
object ScSSHClient1: TScSSHClient
Connected = False
HostKeyAlgorithms = <
item
Algorithm = aaRSA
end
item
Algorithm = aaDSA
end>
HostName = 'hostname'
Port = 7822
User = 'username'
Password = 'password'
Timeout = 100
KeyStorage = ScFileStorage1
OnServerKeyValidate = ScSSHClient1ServerKeyValidate
Left = 128
Top = 77
end
object ScSSHChannel1: TScSSHChannel
Client = ScSSHClient1
SourcePort = 5433
DestHost = 'localhost'
DestPort = 5432
Timeout = 10
Left = 288
Top = 77
end
Many thanks
Pio Pio
I have an issue with ScSSHChannel.Connect.
If I compile the source under Win 7 the application works correctly but if I compile the same source with Win 8 the application give me the following error message:
First chance exception at $76B94B32. Exception class SocketException with message
'Socket error on binding. WSAGetLastError return 10013($271D)
An attempt was made to access a socket in a way forbidden by its access permissions'.
Process TDBRichViewEditor.exe (6412)
The following is the setup of TScSSHClient and TScSSHChannel and I have installed SecureBridge version 5.5.1
object ScSSHClient1: TScSSHClient
Connected = False
HostKeyAlgorithms = <
item
Algorithm = aaRSA
end
item
Algorithm = aaDSA
end>
HostName = 'hostname'
Port = 7822
User = 'username'
Password = 'password'
Timeout = 100
KeyStorage = ScFileStorage1
OnServerKeyValidate = ScSSHClient1ServerKeyValidate
Left = 128
Top = 77
end
object ScSSHChannel1: TScSSHChannel
Client = ScSSHClient1
SourcePort = 5433
DestHost = 'localhost'
DestPort = 5432
Timeout = 10
Left = 288
Top = 77
end
Many thanks
Pio Pio