I'm trying to do a SFTP file transfer from Windows XP client to Solaris
10 server. There is a security restriction on the server, to lock the
user after a specified number of connection retries. On a single login
attempt from the client, the JCraft tool internally tries the max number
of retries (as set in maxAuthTries in /etc/ssh/sshd_config file), which
exceeds the security restriction, and immediately locks the user.
Is there any API/code provision to set the SSH connection retries to a
custom value on the JCraft?
+-From: <jrajagopalan@...> --
|_Date: Thu, 24 Jul 2008 10:31:15 +0530 ____
|Is there any API/code provision to set the SSH connection retries to a
|custom value on the JCraft?
JSch must not have a functionality to retry of making SSH connections.
It only tries to open one SSH connection whenever invoking Session#connect()
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
From: Edward Perry <eperry@my...> - 2008-10-22 15:28:00
Hi, I am implementing a SF Project called JMrtools and I am trying to
get SCP working like it does at the command line.
I am currently having a questions about the remote side of the SCP
My issue is that when sending the information to the remote server you
need to remove all leading "/" so where do I do a change directory to
the place I want to upload the file?
Do I just do "cd /whereever/; scp -p -t" or is there a more elegant
way of doing this?
Or should I just drop SCP and go to SFTP?