Subversion Repositories SmartDukaan

Rev

Rev 33443 | Rev 33501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33443 Rev 33463
Line 374... Line 374...
374
		return specificationGroups;
374
		return specificationGroups;
375
	}
375
	}
376
 
376
 
377
	private ChannelSftp setupJsch() throws JSchException {
377
	private ChannelSftp setupJsch() throws JSchException {
378
		JSch jsch = new JSch();
378
		JSch jsch = new JSch();
379
		Session jschSession = jsch.getSession("root", "192.168.179.131");
379
		Session jschSession = jsch.getSession("root", "172.105.58.16");
380
		// Session jschSession = jsch.getSession("root", "173.255.254.24");
380
		// Session jschSession = jsch.getSession("root", "173.255.254.24");
381
		LOGGER.info("getClass().getResource(\"id_rsa\") {}",
381
		LOGGER.info("getClass().getResource(\"id_rsa\") {}",
382
				getClass().getClassLoader().getResource("id_rsa").getPath());
382
				getClass().getClassLoader().getResource("id_rsa").getPath());
383
		jsch.addIdentity(getClass().getClassLoader().getResource("id_rsa").getPath());
383
		jsch.addIdentity(getClass().getClassLoader().getResource("id_rsa").getPath());
384
		// jschSession.setPassword("spic@2015static0");
384
		// jschSession.setPassword("spic@2015static0");