Method Connect
Connect()
Connects with the server on the default port (22).
public virtual void Connect()
Connect(int)
Connects with the server on the specified port.
public virtual void Connect(int tcpPort)
Parameters
tcpPort
intThe port to connect to.
Exceptions
- JSchException