Ssh session for android crashes

creating an ssh session when launching an Android OF app
I have updated the onCreate method as

@Override
public void onCreate(Bundle savedInstanceState)
{ 
    super.onCreate(savedInstanceState);
    String packageName = getPackageName();

    new startSSH().execute();
    ofApp = new OFAndroid(packageName,this);
    
}

 ......

public class startSSH extends AsyncTask<String, Integer, String> {
	
	@Override
	protected String doInBackground(String... art0) {
		
		JSch jsch = new JSch();

By calling the new JSch() application crashes with no exception thrown

Also I have set

   <uses-permission android:name="android.permission.INTERNET" />

at the AndroidManifest.xml