X-Received: by 10.224.72.199 with SMTP id n7mr11798723qaj.5.1364398768971; Wed, 27 Mar 2013 08:39:28 -0700 (PDT) X-Received: by 10.49.12.16 with SMTP id u16mr1464445qeb.31.1364398768890; Wed, 27 Mar 2013 08:39:28 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!t2no22097906qal.0!news-out.google.com!k8ni11100qas.0!nntp.google.com!ca1no12637668qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Wed, 27 Mar 2013 08:39:28 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=68.56.123.172; posting-account=-VTU1AoAAAAj8_Yg-fSOSMK2kXzWy-EX NNTP-Posting-Host: 68.56.123.172 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <87e45e09-ad58-4bf1-87d4-d5b6c1916645@googlegroups.com> Subject: Re: POST to secure server From: RVic Injection-Date: Wed, 27 Mar 2013 15:39:28 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.java.programmer:23141 Silvio, Thank you -- but I am a little confused by what you say. Right now, using JSCH I can connect with: JSch jsch = new JSch(); Session session = jsch.getSession("me"/*user*/, "moonprod"/*serverURL*/); session.setPort(22); session.setPassword(password); session.connect(); And the servlet I must reach is on Tomcat on the server on port 28080 which would be hit as http://moonprod:28080/servlets/myservlet What are you saying, below, that I should change? Thank you! <>