|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (3)
View Page Historyh1. Troubleshooting
h2. Try to connect to the SFTP server using the same SSH stack
If you have *problem establishing a connection* with the SSH server, you can test your parameters with [Petals CLI|petalscomponents:Petals BC SFTP tooling]. +Note+: The Petals CLI command use the same SSH stack than the component.
+Note+: The Petals CLI command use the same SSH stack than the component.
h2. Getting log from the SSH layer
The BC SFTP embeds [J2SSH|http://j2ssh.sourceforge.net/] as SSH client stack. You can configure the log of the SSH stack extending the [Petals ESB logging configuration|petalsesbsnapshot:Logging in Petals] with:
{code}
# The full J2SSH
com.sshtools.j2ssh.level=INFO
# A part of J2SSH
com.sshtools.j2ssh.level=SEVERE
com.sshtools.j2ssh.sftp.level=INFO
com.sshtools.j2ssh.transport.level=WARNING
{code}
{note}Caution the J2SSH layer is verbose at {{INFO}} level !{note}
h2. Getting log from the SSH layer
The BC SFTP embeds [J2SSH|http://j2ssh.sourceforge.net/] as SSH client stack. You can configure the log of the SSH stack extending the [Petals ESB logging configuration|petalsesbsnapshot:Logging in Petals] with:
{code}
# The full J2SSH
com.sshtools.j2ssh.level=INFO
# A part of J2SSH
com.sshtools.j2ssh.level=SEVERE
com.sshtools.j2ssh.sftp.level=INFO
com.sshtools.j2ssh.transport.level=WARNING
{code}
{note}Caution the J2SSH layer is verbose at {{INFO}} level !{note}