You should always get some output. If you don't either your ssh server is
not running, your not specifying a valid hostname, or there is a syntax
error in the ssh command your running in qp2term.
First, verify the SSH Server running by running the following query.
SELECT CONNECTION_TYPE, LOCAL_ADDRESS, LOCAL_PORT, LOCAL_PORT_NAME,
PROTOCOL, TCP_STATE FROM QSYS2.NETSTAT_INFO WHERE LOCAL_PORT =22
If there are no results, the server is not running
Run the following command to start the ssh server
Then try connecting again. You can use your domain name or IP address for
"somehost". (of course a domain name is better)
ssh -v -T serveruid@somehost
Note you also can add -v, -vv, or -vvv to the ssh command for more detailed
You should get some output.
If that still does not work, provide what you see in qp2term.
date: Fri, 1 Apr 2022 16:33:12 +0000
from: Miguel Peralta <Mperalta8@xxxxxxxxxxx>
subject: Question about sftp
Hello, good day, I have a technical question about SFTP client, I already
configured the service according to this link:
I do everything as it is in the manual, but when I connect I don't get there
and it doesn't give me any type of message, according to this it is
necessary to authenticate via ssh the first time but I don't get to that
part, maybe I'm missing configuring something or I'm leaving the certificate
in the wrong windows directory, in your experience what could I be missing?
greetings and thanks
As an Amazon Associate we earn from qualifying purchases.